File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -63,5 +63,11 @@ members = [
63
63
missing_debug_implementations = " warn"
64
64
rust_2018_idioms = " warn"
65
65
single_use_lifetimes = " warn"
66
+ unexpected_cfgs = { level = " warn" , check-cfg = [
67
+ ' cfg(crossbeam_loom)' ,
68
+ ' cfg(crossbeam_no_atomic)' ,
69
+ ' cfg(crossbeam_sanitize)' ,
70
+ ' cfg(crossbeam_sanitize_thread)' ,
71
+ ] }
66
72
unreachable_pub = " warn"
67
73
# unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ set -euxo pipefail
3
3
IFS=$' \n\t '
4
4
cd " $( dirname " $0 " ) " /..
5
5
6
- export RUSTFLAGS=" ${RUSTFLAGS:- } -Z randomize-layout"
6
+ # TODO: Once cargo-careful's bug (https://github.com/RalfJung/cargo-careful/issues/31) is fixed,
7
+ # stop reverting back to the system's default linker, instead of rust-lld, which became the new
8
+ # default on linux recently (nightly-2024-05-18 and onwards).
9
+ export RUSTFLAGS=" ${RUSTFLAGS:- } -Z randomize-layout -Z linker-features=-lld"
7
10
8
11
cargo careful test --all --all-features --exclude benchmarks -- --test-threads=1
You can’t perform that action at this time.
0 commit comments