mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
chore: enable feature flag check on windows (#1798)
This commit is contained in:
parent
69975fb960
commit
d4fec2c5d6
@ -22,8 +22,6 @@ jobs:
|
|||||||
|
|
||||||
- script: cargo install cargo-hack
|
- script: cargo install cargo-hack
|
||||||
displayName: 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
|
- template: azure-is-release.yml
|
||||||
|
|
||||||
@ -53,8 +51,6 @@ jobs:
|
|||||||
CI: 'True'
|
CI: 'True'
|
||||||
displayName: ${{ crate }} - cargo hack check --each-feature
|
displayName: ${{ crate }} - cargo hack check --each-feature
|
||||||
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
|
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
|
- template: azure-patch-crates.yml
|
||||||
|
|
||||||
@ -84,5 +80,3 @@ jobs:
|
|||||||
CI: 'True'
|
CI: 'True'
|
||||||
displayName: ${{ crate }} - cargo hack check --each-feature
|
displayName: ${{ crate }} - cargo hack check --each-feature
|
||||||
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
|
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! {
|
cfg_signal! {
|
||||||
pub(crate) mod mpsc;
|
pub(crate) mod mpsc;
|
||||||
pub(crate) mod semaphore;
|
pub(crate) mod semaphore;
|
||||||
|
|
||||||
|
cfg_not_rt_threaded! {
|
||||||
|
pub(crate) mod oneshot;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user