Skip to content

Commit a23c08c

Browse files
committed
Check as-if-std only on nightly
1 parent 9d2c34e commit a23c08c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,11 @@ jobs:
137137

138138
# Test that including as a submodule will still work, both with and without
139139
# the `backtrace` feature enabled.
140+
# Building as if part of std requires nightly features to be available
140141
- run: cargo build --manifest-path crates/as-if-std/Cargo.toml
142+
if: matrix.rust == 'nightly'
141143
- run: cargo build --manifest-path crates/as-if-std/Cargo.toml --no-default-features
144+
if: matrix.rust == 'nightly'
142145

143146
windows_arm64:
144147
name: Windows AArch64

0 commit comments

Comments
 (0)