mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-20 00:00:08 +02:00
chore: enable feature flag check on windows (#1798)
This commit is contained in:
@@ -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'))
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user