Skip to content

Commit

Permalink
chore: enable feature flag check on windows (tokio-rs#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored and carllerche committed Nov 20, 2019
1 parent 69975fb commit d4fec2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ci/azure-test-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:

- script: cargo install cargo-hack
displayName: Install cargo-hack
# FIXME(taiki-e): many features of current cargo-hack are not available on windows: https://github.com/taiki-e/cargo-hack/issues/3
condition: not(eq(variables['Agent.OS'], 'Windows_NT'))

- template: azure-is-release.yml

Expand Down Expand Up @@ -53,8 +51,6 @@ jobs:
CI: 'True'
displayName: ${{ crate }} - cargo hack check --each-feature
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
# FIXME(taiki-e): many features of current cargo-hack are not available on windows: https://github.com/taiki-e/cargo-hack/issues/3
condition: not(eq(variables['Agent.OS'], 'Windows_NT'))

- template: azure-patch-crates.yml

Expand Down Expand Up @@ -84,5 +80,3 @@ jobs:
CI: 'True'
displayName: ${{ crate }} - cargo hack check --each-feature
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
# FIXME(taiki-e): many features of current cargo-hack are not available on windows: https://github.com/taiki-e/cargo-hack/issues/3
condition: not(eq(variables['Agent.OS'], 'Windows_NT'))
4 changes: 4 additions & 0 deletions tokio/src/sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ cfg_not_sync! {
cfg_signal! {
pub(crate) mod mpsc;
pub(crate) mod semaphore;

cfg_not_rt_threaded! {
pub(crate) mod oneshot;
}
}
}

Expand Down

0 comments on commit d4fec2c

Please sign in to comment.