Skip to content

Commit

Permalink
Fix the careful job with a workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed May 19, 2024
1 parent edc6dbc commit 79c1a6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/careful.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ set -euxo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

export RUSTFLAGS="${RUSTFLAGS:-} -Z randomize-layout"
# TODO: Use the system's default linker instead of rust-lld, which recently
# became the default until this cargo-careful bug is fixed:
# https://github.com/RalfJung/cargo-careful/issues/31
export RUSTFLAGS="${RUSTFLAGS:-} -Z randomize-layout -Z linker-features=-lld"

cargo careful test --all --all-features --exclude benchmarks -- --test-threads=1

0 comments on commit 79c1a6c

Please sign in to comment.