Skip to content

Commit

Permalink
Update build-std parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Jul 9, 2021
1 parent bb8bbe1 commit 9715ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genbindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ if [ "$HOST_PLATFORM" = "host: x86_64-unknown-linux-gnu" ]; then
LLVM_V=$(rustc +nightly --version --verbose | grep "LLVM version" | awk '{ print substr($3, 0, 2); }')
if [ -x "$(which clang-$LLVM_V)" ]; then
cargo +nightly clean
cargo +nightly rustc -Zbuild-std --target x86_64-unknown-linux-gnu -v -- -Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes
cargo +nightly rustc -Zbuild-std=std,panic_abort --target x86_64-unknown-linux-gnu -v -- -Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes
mv target/x86_64-unknown-linux-gnu/debug/libldk.* target/debug/

# Sadly, std doesn't seem to compile into something that is memsan-safe as of Aug 2020,
Expand Down

0 comments on commit 9715ec0

Please sign in to comment.