File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 62
62
- run : cd serde && cargo build --no-default-features
63
63
- run : cd serde && cargo build --no-default-features --features alloc
64
64
- run : cd serde && cargo build --no-default-features --features rc,alloc
65
+ - run : cd serde && cargo build --no-default-features --features unstable
65
66
- run : cd serde && cargo test --features derive,rc,unstable
66
67
- run : cd test_suite/no_std && cargo build
67
68
if : matrix.os != 'windows'
Original file line number Diff line number Diff line change @@ -126,10 +126,13 @@ mod utf8;
126
126
127
127
pub use self :: ignored_any:: IgnoredAny ;
128
128
129
+ #[ cfg( all( feature = "unstable" , not( feature = "std" ) ) ) ]
130
+ #[ doc( no_inline) ]
131
+ pub use core:: error:: Error as StdError ;
129
132
#[ cfg( feature = "std" ) ]
130
133
#[ doc( no_inline) ]
131
134
pub use std:: error:: Error as StdError ;
132
- #[ cfg( not( feature = "std" ) ) ]
135
+ #[ cfg( not( any ( feature = "std" , feature = "unstable" ) ) ) ]
133
136
#[ doc( no_inline) ]
134
137
pub use std_error:: Error as StdError ;
135
138
You can’t perform that action at this time.
0 commit comments