Update to build in no_std mode on latest Rust nightly

This commit is contained in:
Matt Brubeck
2018-07-18 16:25:10 -07:00
parent 84e7fe5aaf
commit ab1a917b1c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ rust:
script: |
cargo build --verbose &&
cargo test --verbose &&
([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose --no-default-features) &&
([ $TRAVIS_RUST_VERSION != nightly ] || cargo check --verbose --no-default-features) &&
([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose --features union) &&
([ $TRAVIS_RUST_VERSION != nightly ] || cargo bench --verbose bench)
notifications:
+1 -1
View File
@@ -39,7 +39,7 @@
extern crate alloc;
#[cfg(not(feature = "std"))]
use alloc::Vec;
use alloc::vec::Vec;
#[cfg(feature = "serde")]
extern crate serde;