Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Pin to nightly-2021-09-30 #513

Merged
merged 2 commits into from
Oct 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: nightly
toolchain: nightly-2021-09-30
profile: minimal
target: x86_64-unknown-linux-musl
override: true
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: nightly
toolchain: nightly-2021-09-30
profile: minimal
target: x86_64-unknown-linux-musl
override: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
target: x86_64-unknown-linux-musl
toolchain: nightly
toolchain: nightly-2021-09-30
override: true
- uses: actions-rs/cargo@v1
with:
Expand All @@ -39,7 +39,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
target: x86_64-unknown-linux-musl
toolchain: nightly
toolchain: nightly-2021-09-30
override: true
- run: cargo test ${{ matrix.profile.flag }}
working-directory: internal/${{ matrix.crate }}
Expand Down
10 changes: 3 additions & 7 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ fn build_rs_tests(in_path: &Path, out_path: &Path) {
.status()
.unwrap_or_else(|_| panic!("failed to compile {:#?}", &in_source));

if !status.success() {
panic!("Failed to compile {:?}", &in_source);
}
assert!(status.success(), "Failed to compile {:?}", &in_source);
}
}

Expand All @@ -105,9 +103,7 @@ fn build_cc_tests(in_path: &Path, out_path: &Path) {
.status()
.unwrap_or_else(|_| panic!("failed to compile {:#?}", &in_source));

if !status.success() {
panic!("Failed to compile {:?}", &in_source);
}
assert!(status.success(), "Failed to compile {:?}", &in_source);
}
}

Expand Down Expand Up @@ -231,7 +227,7 @@ fn main() {
.envs(&filtered_env)
.stdout(stdout)
.stderr(stderr)
.arg("+nightly")
.arg("+nightly-2021-09-30")
.arg("build")
.args(profile)
.arg("--target-dir")
Expand Down