File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 33set -ex
44
55cargo test --target $TARGET
6- cargo build --target $TARGET --manifest-path crates/as-if-std/Cargo.toml
6+ if rustc --version | grep nightly; then
7+ cargo build --target $TARGET --manifest-path crates/as-if-std/Cargo.toml
8+ fi
You can’t perform that action at this time.
0 commit comments