File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 86
86
command : check
87
87
args : --features attributes
88
88
89
+ - name : build unstable only
90
+ uses : actions-rs/cargo@v1
91
+ with :
92
+ command : build
93
+ args : --no-default-features --features unstable
94
+
89
95
- name : tests
90
96
uses : actions-rs/cargo@v1
91
97
with :
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ cfg_std! {
5
5
}
6
6
7
7
cfg_unstable ! {
8
+ #[ cfg( feature = "default" ) ]
8
9
pub mod fs;
9
10
}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ mod timer {
66
66
67
67
#[ cfg( any( feature = "unstable" , feature = "default" ) ) ]
68
68
pub ( 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 ") ) ]
70
70
once_cell:: sync:: Lazy :: force ( & crate :: rt:: RUNTIME ) ;
71
71
72
72
Timer :: after ( dur)
You can’t perform that action at this time.
0 commit comments