mirror of
https://github.com/yshui/picom.git
synced 2024-11-18 13:55:36 -05:00
flake: enable abort_on_error for ASan
So we get a coredump which we can inspect. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
12fbcb0c0f
commit
51edc1bc55
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
# See: https://github.com/NixOS/nixpkgs/issues/287763
|
# See: https://github.com/NixOS/nixpkgs/issues/287763
|
||||||
export LD_LIBRARY_PATH+=":/run/opengl-driver/lib"
|
export LD_LIBRARY_PATH+=":/run/opengl-driver/lib"
|
||||||
export UBSAN_OPTIONS="disable_coredump=0:unmap_shadow_on_exit=1:print_stacktrace=1"
|
export UBSAN_OPTIONS="disable_coredump=0:unmap_shadow_on_exit=1:print_stacktrace=1"
|
||||||
export ASAN_OPTIONS="disable_coredump=0:unmap_shadow_on_exit=1"
|
export ASAN_OPTIONS="disable_coredump=0:unmap_shadow_on_exit=1:abort_on_error=1"
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
in rec {
|
in rec {
|
||||||
|
|
Loading…
Reference in a new issue