Codebase list rust-serde-xml-rs / a315287
update num-bigint patches to avoid fuzz Ximin Luo 4 years ago
2 changed file(s) with 7 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
33 * Package num-bigint 0.2.6 from crates.io using debcargo 2.4.2
44 * Add upstream patch to fix benchmarks under rand 0.7
55
6 -- Ximin Luo <infinity0@debian.org> Tue, 21 Apr 2020 21:33:01 +0100
6 -- Ximin Luo <infinity0@debian.org> Tue, 21 Apr 2020 21:36:23 +0100
77
88 rust-num-bigint (0.2.5-1) unstable; urgency=medium
99
99 ci/test_full.sh | 4 ++--
1010 4 files changed, 8 insertions(+), 5 deletions(-)
1111
12 diff --git a/benches/bigint.rs b/benches/bigint.rs
13 index 90a7e85..5474185 100644
1412 --- a/benches/bigint.rs
1513 +++ b/benches/bigint.rs
16 @@ -9,7 +9,8 @@ extern crate test;
14 @@ -9,7 +9,8 @@
1715
1816 use num_bigint::{BigInt, BigUint, RandBigInt};
1917 use num_traits::{FromPrimitive, Num, One, Pow, Zero};
2321 use std::mem::replace;
2422 use test::Bencher;
2523
26 diff --git a/benches/gcd.rs b/benches/gcd.rs
27 index 5fe5260..a2b177a 100644
2824 --- a/benches/gcd.rs
2925 +++ b/benches/gcd.rs
30 @@ -10,7 +10,8 @@ extern crate test;
26 @@ -10,7 +10,8 @@
3127 use num_bigint::{BigUint, RandBigInt};
3228 use num_integer::Integer;
3329 use num_traits::Zero;
3733 use test::Bencher;
3834
3935 fn get_rng() -> StdRng {
40 diff --git a/benches/roots.rs b/benches/roots.rs
41 index 51e67d9..b5c0aad 100644
4236 --- a/benches/roots.rs
4337 +++ b/benches/roots.rs
44 @@ -8,7 +8,8 @@ extern crate test;
38 @@ -8,7 +8,8 @@
4539
4640 use num_bigint::{BigUint, RandBigInt};
4741 use num_traits::Pow;
5145 use test::Bencher;
5246
5347 // The `big64` cases demonstrate the speed of cases where the value
54 diff --git a/ci/test_full.sh b/ci/test_full.sh
55 index 37505bd..43e989b 100755
5648 --- a/ci/test_full.sh
5749 +++ b/ci/test_full.sh
58 @@ -49,9 +49,9 @@ if test -n "${NO_STD_FEATURES:+true}"; then
59 cargo test --no-default-features --features="$NO_STD_FEATURES"
60 fi
50 @@ -33,7 +33,7 @@
51 cargo build --features="std $FEATURES"
52 cargo test --features="std $FEATURES"
6153
6254 -# make sure benchmarks can be built
6355 +# make sure benchmarks can be built and sanity-tested
6557 - cargo bench --all-features --no-run
6658 + cargo test --benches --all-features
6759 fi
68
69 case "$STD_FEATURES" in