Skip to content

Commit

Permalink
ci: disable lsan for sanitized builds for now
Browse files Browse the repository at this point in the history
This crashes in the CI but I think it may just be a broken
environment as locally it always passes.
  • Loading branch information
q66 committed May 6, 2024
1 parent 4eb384a commit 54a0335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/build-cffi
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ if [ -n "$SANITIZE" ]; then
extra_ldflags="${extra_ldflags} -fsanitize=address -fuse-ld=lld"
# cfi-icall is buggy with the clang on CI, also the same functionality
# is covered by -fsanitize=function (included in undefined)
export CXXFLAGS="-fsanitize=undefined -fsanitize-trap=undefined -fsanitize=address -fsanitize=cfi -fno-sanitize=cfi-icall -fvisibility=hidden -flto=thin"
export CXXFLAGS="-fsanitize=undefined -fsanitize-trap=undefined -fsanitize=address -fsanitize=cfi -fno-sanitize=cfi-icall,leak -fvisibility=hidden -flto=thin"
export LDFLAGS="${CXXFLAGS} -fuse-ld=lld"
# only test the most recent lua version
LUA_VERSIONS=${LUA_VERSIONS%% *}
Expand Down

0 comments on commit 54a0335

Please sign in to comment.