Skip to content

Commit d4fec2c

Browse files
taiki-ecarllerche
authored andcommitted
chore: enable feature flag check on windows (#1798)
1 parent 69975fb commit d4fec2c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ci/azure-test-stable.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222

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

2826
- template: azure-is-release.yml
2927

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

5955
- template: azure-patch-crates.yml
6056

@@ -84,5 +80,3 @@ jobs:
8480
CI: 'True'
8581
displayName: ${{ crate }} - cargo hack check --each-feature
8682
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
87-
# FIXME(taiki-e): many features of current cargo-hack are not available on windows: https://github.com/taiki-e/cargo-hack/issues/3
88-
condition: not(eq(variables['Agent.OS'], 'Windows_NT'))

tokio/src/sync/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ cfg_not_sync! {
4545
cfg_signal! {
4646
pub(crate) mod mpsc;
4747
pub(crate) mod semaphore;
48+
49+
cfg_not_rt_threaded! {
50+
pub(crate) mod oneshot;
51+
}
4852
}
4953
}
5054

0 commit comments

Comments
 (0)