Skip to content

Commit 29dcf23

Browse files
committed
ci: Pin Rust nightly version
1 parent ef4b43f commit 29dcf23

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

circle.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,14 @@ jobs:
351351
command: |
352352
apt -qq update
353353
apt -yq install llvm-11-dev clang-11 --no-install-recommends
354-
rustup toolchain install nightly-x86_64-unknown-linux-gnu
354+
rustup toolchain install nightly-2021-04-11 # 2021-04-12 is known to be broken, https://github.com/rust-lang/rust/pull/84130.
355355
- run:
356356
name: Build
357-
command: RUSTFLAGS="-Z sanitizer=address" ASAN_OPTIONS=detect_leaks=1 cargo +nightly build --target x86_64-unknown-linux-gnu
357+
command: RUSTFLAGS="-Z sanitizer=address" ASAN_OPTIONS=detect_leaks=1 cargo +nightly-2021-04-11 build --target x86_64-unknown-linux-gnu
358+
358359
- run:
359360
name: Test
360-
command: RUSTFLAGS="-Z sanitizer=address -C opt-level=0" ASAN_OPTIONS=detect_leaks=1 cargo +nightly test --target x86_64-unknown-linux-gnu
361+
command: RUSTFLAGS="-Z sanitizer=address -C opt-level=0" ASAN_OPTIONS=detect_leaks=1 cargo +nightly-2021-04-11 test --target x86_64-unknown-linux-gnu
361362
- attach_workspace:
362363
at: ~/build
363364
- run:

0 commit comments

Comments
 (0)