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 35
35
- name : Enable type layout randomization
36
36
run : echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
37
37
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'
38
41
- run : cargo test
39
42
- run : cargo check --no-default-features
40
43
- run : cargo check --features backtrace
Original file line number Diff line number Diff line change 237
237
clippy:: wrong_self_convention
238
238
) ]
239
239
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
+
240
247
extern crate alloc;
241
248
242
249
#[ macro_use]
You can’t perform that action at this time.
0 commit comments