Skip to content

Commit 37338e8

Browse files
committed
Disable serde1 feature in tests of rand
This feature is not applicable to rand, but is causing issues due to a bug in average.
1 parent b1eea36 commit 37338e8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ sudo: false
4040
# - test no_std support, but only the unit tests:
4141
# `cargo test --lib --no-default-features`
4242
# - run unit tests and doctests with all features which are available on stable:
43-
# `cargo test --features=serde1,log`
43+
# `cargo test --features=log`
4444
# - test examples:
4545
# `cargo test --examples`
4646
# Additional tests on nightly:
@@ -64,7 +64,7 @@ matrix:
6464
# Differs from standard script: rand_pcg features
6565
- cargo test --lib --no-default-features
6666
# TODO: add simd_support feature:
67-
- cargo test --features=serde1,log
67+
- cargo test --features=log
6868
- cargo test --examples
6969
- cargo test --manifest-path rand_core/Cargo.toml
7070
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features
@@ -86,7 +86,7 @@ matrix:
8686
# Differs from standard script: includes aarch64-apple-ios cross-build
8787
- cargo test --lib --no-default-features
8888
# TODO: add simd_support feature:
89-
- cargo test --features=serde1,log
89+
- cargo test --features=log
9090
- cargo test --examples
9191
- cargo test --manifest-path rand_core/Cargo.toml
9292
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features
@@ -207,7 +207,7 @@ before_install:
207207
script:
208208
- cargo test --lib --no-default-features
209209
# TODO: add simd_support feature:
210-
- cargo test --features=serde1,log
210+
- cargo test --features=log
211211
- cargo test --examples
212212
- cargo test --manifest-path rand_core/Cargo.toml
213213
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build: false
3434
test_script:
3535
- cargo test --lib --no-default-features --features alloc
3636
# TODO: use --all-features once simd_support is sufficiently stable:
37-
- cargo test --features=serde1,log
37+
- cargo test --features=log
3838
- cargo test --benches --features=nightly
3939
- cargo test --examples
4040
- cargo test --manifest-path rand_core/Cargo.toml

utils/ci/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -ex
55
main() {
66
cross test --target $TARGET --lib --no-default-features
77
# TODO: add simd_support feature:
8-
cross test --target $TARGET --features=serde1,log
8+
cross test --target $TARGET --features=log
99
cross test --target $TARGET --examples
1010
cross test --target $TARGET --manifest-path rand_core/Cargo.toml
1111
cross test --target $TARGET --manifest-path rand_core/Cargo.toml --no-default-features

0 commit comments

Comments
 (0)