File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ sudo: false
22language : rust
33rust :
44 - nightly
5- - 1.6 .0
5+ - 1.9 .0
66
77os :
88 - linux
Original file line number Diff line number Diff line change @@ -22,8 +22,10 @@ exclude = [
2222]
2323
2424[dependencies ]
25- kernel32-sys = " 0.2"
2625libc = " 0.2"
26+
27+ [target .'cfg(windows)' .dependencies ]
28+ kernel32-sys = " 0.2"
2729winapi = " 0.2"
2830
2931[build-dependencies ]
Original file line number Diff line number Diff line change 1212//! and thus the building blocks for higher-level abstractions, like coroutines,
1313//! cooperative threads (userland threads) or an equivalent to the C# keyword "yield".
1414
15- extern crate kernel32;
1615extern crate libc;
16+ #[ cfg( windows) ]
17+ extern crate kernel32;
18+ #[ cfg( windows) ]
1719extern crate winapi;
1820
1921/// Provides the `Context` and `Transfer` types for
You can’t perform that action at this time.
0 commit comments