File tree 4 files changed +4
-0
lines changed
4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 41
41
- run : cargo test --workspace --exclude thiserror_no_std_test
42
42
- run : cargo test --manifest-path tests/no-std/Cargo.toml
43
43
if : matrix.rust != '1.70.0'
44
+ - run : cargo test --no-default-features
44
45
- uses : actions/upload-artifact@v4
45
46
if : matrix.rust == 'nightly' && always()
46
47
with :
Original file line number Diff line number Diff line change
1
+ #![ cfg( feature = "std" ) ]
1
2
#![ cfg_attr( thiserror_nightly_testing, feature( error_generic_member_access) ) ]
2
3
3
4
use thiserror:: Error ;
Original file line number Diff line number Diff line change 1
1
#![ allow( clippy:: iter_cloned_collect, clippy:: uninlined_format_args) ]
2
2
3
3
use core:: fmt:: Display ;
4
+ #[ cfg( feature = "std" ) ]
4
5
use std:: path:: PathBuf ;
5
6
use thiserror:: Error ;
6
7
Original file line number Diff line number Diff line change
1
+ #![ cfg( feature = "std" ) ]
1
2
#![ cfg_attr( thiserror_nightly_testing, feature( error_generic_member_access) ) ]
2
3
3
4
#[ cfg( thiserror_nightly_testing) ]
You can’t perform that action at this time.
0 commit comments