diff --git a/tools/build b/tools/build index 1c302b05..0b1a6682 100755 --- a/tools/build +++ b/tools/build @@ -102,7 +102,11 @@ while [ $# -gt 0 ]; do find_profile require_pg_version $nop cargo fetch - $nop cargo test --profile $profile --features "$pg pg_test" --no-default-features + export RUSTC_BOOTSTRAP=1 + export __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS=nightly + export RUSTFLAGS='-Z sanitizer=memory' + rustup component add rust-src --toolchain 1.74.0-x86_64-unknown-linux-gnu + $nop cargo test -Zbuild-std --profile $profile --target --target x86_64-unknown-linux-gnu --features "$pg pg_test" --no-default-features -- stats_agg::tests ;; install)