Skip to content

Commit ebe711e

Browse files
committed
Remove sanitizer in debug builds.
1 parent ad187bf commit ebe711e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ if [ "$1" == "debug" ]; then
3434
# Patch the metacall.scm with debug build type and sanitizers
3535
sed -i \
3636
-e '/"-DOPTION_BUILD_GUIX=ON"/a\' \
37-
-e ' "-DCMAKE_BUILD_TYPE=Debug" "-DOPTION_BUILD_ADDRESS_SANITIZER=ON"' \
37+
-e ' "-DCMAKE_BUILD_TYPE=Debug"' \
38+
`# TODO: Add support for preloading address sanitizer in executables using MetaCall` \
39+
`# -e ' "-DCMAKE_BUILD_TYPE=Debug" "-DOPTION_BUILD_ADDRESS_SANITIZER=ON"'` \
3840
/metacall/source/metacall.scm
3941

4042
# Remove the strip phase for maintaining the debug symbols

0 commit comments

Comments
 (0)