chore: enable feature flag check on windows (#1798)

This commit is contained in:
Taiki Endo 2019-11-21 00:05:50 +09:00 committed by Carl Lerche
parent 69975fb960
commit d4fec2c5d6
2 changed files with 4 additions and 6 deletions

View File

@ -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
@ -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
@ -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'))

View File

@ -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;
}
}
}