Remove remnants of i128_support
This feature flag is obsolete and was already removed from most of the code; a few references were missed.
This commit is contained in:
parent
6a2fd79883
commit
6bb07b75d1
18
.travis.yml
18
.travis.yml
@ -82,7 +82,7 @@ matrix:
|
||||
script:
|
||||
- cargo test --lib --no-default-features
|
||||
# TODO: add simd_support feature:
|
||||
- cargo test --features=serde1,log,i128_support
|
||||
- cargo test --features=serde1,log
|
||||
- cargo test --examples
|
||||
- cargo test --package rand_core
|
||||
- cargo test --package rand_core --no-default-features
|
||||
@ -96,7 +96,7 @@ matrix:
|
||||
script:
|
||||
- cargo test --lib --no-default-features
|
||||
# TODO: add simd_support feature:
|
||||
- cargo test --features=serde1,log,i128_support
|
||||
- cargo test --features=serde1,log
|
||||
- cargo test --examples
|
||||
- cargo test --package rand_core
|
||||
- cargo test --package rand_core --no-default-features
|
||||
@ -113,7 +113,7 @@ matrix:
|
||||
script:
|
||||
- cargo test --lib --no-default-features --features=alloc
|
||||
# TODO: use --all-features once simd_support is sufficiently stable:
|
||||
- cargo test --features=serde1,log,i128_support
|
||||
- cargo test --features=serde1,log
|
||||
- cargo test --benches --features=nightly
|
||||
- cargo test --examples
|
||||
- cargo test --package rand_core
|
||||
@ -159,12 +159,12 @@ matrix:
|
||||
- rustup target add x86_64-unknown-redox
|
||||
script:
|
||||
# TODO: use --all-features once simd_support is sufficiently stable:
|
||||
- cargo build --target=x86_64-sun-solaris --features=serde1,log,i128_support
|
||||
- cargo build --target=x86_64-unknown-cloudabi --features=serde1,log,i128_support
|
||||
- cargo build --target=x86_64-unknown-freebsd --features=serde1,log,i128_support
|
||||
#- cargo build --target=x86_64-unknown-fuchsia --features=serde1,log,i128_support
|
||||
- cargo build --target=x86_64-unknown-netbsd --features=serde1,log,i128_support
|
||||
- cargo build --target=x86_64-unknown-redox --features=serde1,log,i128_support
|
||||
- cargo build --target=x86_64-sun-solaris --features=serde1,log
|
||||
- cargo build --target=x86_64-unknown-cloudabi --features=serde1,log
|
||||
- cargo build --target=x86_64-unknown-freebsd --features=serde1,log
|
||||
#- cargo build --target=x86_64-unknown-fuchsia --features=serde1,log
|
||||
- cargo build --target=x86_64-unknown-netbsd --features=serde1,log
|
||||
- cargo build --target=x86_64-unknown-redox --features=serde1,log
|
||||
|
||||
# Trust cross-built/emulated targets. We must repeat all non-default values.
|
||||
- rust: stable
|
||||
|
@ -88,6 +88,6 @@ benchmark results in the PR (or to report nothing's changed).
|
||||
```sh
|
||||
# Benchmarks (requires nightly)
|
||||
cargo bench
|
||||
# Some benchmarks have a faster path with i128_support
|
||||
# Potentially nightly features allow different code paths
|
||||
cargo bench --features=nightly
|
||||
```
|
||||
|
@ -34,7 +34,7 @@ build: false
|
||||
test_script:
|
||||
- cargo test --lib --no-default-features --features alloc
|
||||
# TODO: use --all-features once simd_support is sufficiently stable:
|
||||
- cargo test --features=serde1,log,i128_support
|
||||
- cargo test --features=serde1,log
|
||||
- cargo test --benches --features=nightly
|
||||
- cargo test --examples
|
||||
- cargo test --package rand_core
|
||||
|
@ -7,8 +7,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(test)]
|
||||
#![cfg_attr(all(feature="i128_support", feature="nightly"), allow(stable_features))] // stable since 2018-03-27
|
||||
#![cfg_attr(all(feature="i128_support", feature="nightly"), feature(i128_type, i128))]
|
||||
|
||||
extern crate test;
|
||||
extern crate rand;
|
||||
@ -108,7 +106,6 @@ distr_int!(distr_uniform_i8, i8, Uniform::new(20i8, 100));
|
||||
distr_int!(distr_uniform_i16, i16, Uniform::new(-500i16, 2000));
|
||||
distr_int!(distr_uniform_i32, i32, Uniform::new(-200_000_000i32, 800_000_000));
|
||||
distr_int!(distr_uniform_i64, i64, Uniform::new(3i64, 123_456_789_123));
|
||||
#[cfg(feature = "i128_support")]
|
||||
distr_int!(distr_uniform_i128, i128, Uniform::new(-123_456_789_123i128, 123_456_789_123_456_789));
|
||||
|
||||
distr_float!(distr_uniform_f32, f32, Uniform::new(2.26f32, 2.319));
|
||||
@ -138,7 +135,6 @@ distr_int!(distr_standard_i8, i8, Standard);
|
||||
distr_int!(distr_standard_i16, i16, Standard);
|
||||
distr_int!(distr_standard_i32, i32, Standard);
|
||||
distr_int!(distr_standard_i64, i64, Standard);
|
||||
#[cfg(feature = "i128_support")]
|
||||
distr_int!(distr_standard_i128, i128, Standard);
|
||||
|
||||
distr!(distr_standard_bool, bool, Standard);
|
||||
@ -195,7 +191,6 @@ gen_range_int!(gen_range_i8, i8, -20i8, 100);
|
||||
gen_range_int!(gen_range_i16, i16, -500i16, 2000);
|
||||
gen_range_int!(gen_range_i32, i32, -200_000_000i32, 800_000_000);
|
||||
gen_range_int!(gen_range_i64, i64, 3i64, 123_456_789_123);
|
||||
#[cfg(feature = "i128_support")]
|
||||
gen_range_int!(gen_range_i128, i128, -12345678901234i128, 123_456_789_123_456_789);
|
||||
|
||||
// construct and sample from a floating-point range
|
||||
|
@ -22,7 +22,7 @@ main() {
|
||||
cross test --package rand_xorshift --features=serde1 --target $TARGET
|
||||
else # have stable Rust
|
||||
cross test --lib --no-default-features --target $TARGET
|
||||
cross test --features=serde1,log,i128_support --target $TARGET
|
||||
cross test --features=serde1,log --target $TARGET
|
||||
cross test --examples --target $TARGET
|
||||
cross test --package rand_core --target $TARGET
|
||||
cross test --package rand_core --no-default-features --target $TARGET
|
||||
|
Loading…
x
Reference in New Issue
Block a user