File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,7 @@ rust_2018_idioms = "warn"
65
65
single_use_lifetimes = " warn"
66
66
unexpected_cfgs = { level = " warn" , check-cfg = [
67
67
' cfg(crossbeam_loom)' ,
68
- ' cfg(crossbeam_no_atomic)' ,
69
68
' cfg(crossbeam_sanitize)' ,
70
- ' cfg(crossbeam_sanitize_thread)' ,
71
69
] }
72
70
unreachable_pub = " warn"
73
71
# 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,9 +3,6 @@ set -euxo pipefail
3
3
IFS=$' \n\t '
4
4
cd " $( dirname " $0 " ) " /..
5
5
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"
6
+ export RUSTFLAGS=" ${RUSTFLAGS:- } -Z randomize-layout"
10
7
11
8
cargo careful test --all --all-features --exclude benchmarks -- --test-threads=1
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ include!("build-common.rs");
17
17
18
18
fn main ( ) {
19
19
println ! ( "cargo:rerun-if-changed=no_atomic.rs" ) ;
20
+ println ! ( "cargo:rustc-check-cfg=cfg(crossbeam_no_atomic,crossbeam_sanitize_thread)" ) ;
20
21
21
22
let target = match env:: var ( "TARGET" ) {
22
23
Ok ( target) => convert_custom_linux_target ( target) ,
You can’t perform that action at this time.
0 commit comments