Skip to content

Commit

Permalink
Support #![no_std] on stable Rust.
Browse files Browse the repository at this point in the history
  • Loading branch information
programmerjake committed Jan 10, 2020
1 parent ff63013 commit 166db86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -15,6 +15,4 @@ matrix:

script:
- cargo test
- if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
cargo build --no-default-features;
fi
- cargo build --no-default-features
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -20,6 +20,7 @@ Released YYYY/MM/DD.

### Fixed

* Support `#![no_std]` on stable Rust.
* TODO (or remove section if none)

### Security
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Expand Up @@ -56,7 +56,6 @@

#![deny(missing_docs)]
#![cfg_attr(not(any(feature = "std", test)), no_std)]
#![cfg_attr(not(feature = "std"), feature(alloc))]

#[cfg(not(feature = "std"))]
extern crate alloc;
Expand Down

0 comments on commit 166db86

Please sign in to comment.