Skip to content

Commit a18a427

Browse files
committed
Update to build in no_std mode on latest Rust nightly
1 parent bfdd7ee commit a18a427

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rust:
66
script: |
77
cargo build --verbose &&
88
cargo test --verbose &&
9-
([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose --no-default-features) &&
9+
([ $TRAVIS_RUST_VERSION != nightly ] || cargo check --verbose --no-default-features) &&
1010
([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose --features union) &&
1111
([ $TRAVIS_RUST_VERSION != nightly ] || cargo bench --verbose bench)
1212
notifications:

lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
extern crate alloc;
4040

4141
#[cfg(not(feature = "std"))]
42-
use alloc::Vec;
42+
use alloc::vec::Vec;
4343

4444
#[cfg(feature = "serde")]
4545
extern crate serde;

0 commit comments

Comments
 (0)