File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 8686 command : check
8787 args : --features attributes
8888
89+ - name : build unstable only
90+ uses : actions-rs/cargo@v1
91+ with :
92+ command : build
93+ args : --no-default-features --features unstable
94+
8995 - name : tests
9096 uses : actions-rs/cargo@v1
9197 with :
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ cfg_std! {
55}
66
77cfg_unstable ! {
8+ #[ cfg( feature = "default" ) ]
89 pub mod fs;
910}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ mod timer {
6666
6767#[ cfg( any( feature = "unstable" , feature = "default" ) ) ]
6868pub ( crate ) fn timer_after ( dur : std:: time:: Duration ) -> timer:: Timer {
69- #[ cfg( not( target_os = "unknown" ) ) ]
69+ #[ cfg( all ( not( target_os = "unknown" ) , feature = "default ") ) ]
7070 once_cell:: sync:: Lazy :: force ( & crate :: rt:: RUNTIME ) ;
7171
7272 Timer :: after ( dur)
You can’t perform that action at this time.
0 commit comments