diff --git a/ci/buildkite.yml b/ci/buildkite.yml index 0e38e581bfda44..a66a72ed870d68 100644 --- a/ci/buildkite.yml +++ b/ci/buildkite.yml @@ -6,8 +6,8 @@ steps: - command: "ci/coverage.sh" name: "coverage [public]" timeout_in_minutes: 20 - - command: "ci/docker-run.sh rustlang/rust:nightly ci/test-nightly.sh || true" - name: "nightly - FAILURES IGNORED [public]" + - command: "ci/docker-run.sh rustlang/rust:nightly ci/test-nightly.sh" + name: "nightly [public]" timeout_in_minutes: 20 - command: "ci/docker-run.sh rust ci/test-ignored.sh" name: "ignored [public]" diff --git a/src/signature.rs b/src/signature.rs index 60cea98662d173..36983c6e7796c2 100644 --- a/src/signature.rs +++ b/src/signature.rs @@ -131,9 +131,7 @@ mod bench { #[bench] fn bench_gen_keys(b: &mut Bencher) { - let mut seed = [0u8; 32]; - seed[0..3].copy_from_slice(&[1, 2, 3, 4]); - let rnd = GenKeys::new(seed); + let rnd = GenKeys::new([0u8; 32]); b.iter(|| rnd.gen_n_keypairs(1000)); } }