File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 3535 - name : Enable type layout randomization
3636 run : echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
3737 if : matrix.rust == 'nightly'
38+ - name : Enable nightly-only tests
39+ run : echo RUSTFLAGS=${RUSTFLAGS}\ --cfg=anyhow_nightly_testing >> $GITHUB_ENV
40+ if : matrix.rust == 'nightly'
3841 - run : cargo test
3942 - run : cargo check --no-default-features
4043 - run : cargo check --features backtrace
Original file line number Diff line number Diff line change 237237 clippy:: wrong_self_convention
238238) ]
239239
240+ #[ cfg( all(
241+ anyhow_nightly_testing,
242+ feature = "std" ,
243+ not( error_generic_member_access)
244+ ) ) ]
245+ compile_error ! ( "Build script probe failed to compile." ) ;
246+
240247extern crate alloc;
241248
242249#[ macro_use]
You can’t perform that action at this time.
0 commit comments