diff --git a/.travis.yml b/.travis.yml index 4c8c375..5de21f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,14 @@ script: - ./ci/test_full.sh matrix: include: + # try a target that doesn't have std at all + - name: "no_std" + rust: stable + env: TARGET=thumbv6m-none-eabi + before_script: + - rustup target add $TARGET + script: + - cargo build --verbose --target $TARGET --no-default-features --features i128 - name: "rustfmt" rust: 1.31.0 before_script: diff --git a/Cargo.toml b/Cargo.toml index 37f10d0..b673280 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ categories = ["algorithms", "science", "no-std"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-num/num-traits" name = "num-traits" -version = "0.2.7" +version = "0.2.8" readme = "README.md" build = "build.rs" exclude = ["/ci/*", "/.travis.yml", "/bors.toml"] @@ -24,4 +24,4 @@ std = [] i128 = [] [build-dependencies] -autocfg = "0.1.2" +autocfg = "0.1.3" diff --git a/RELEASES.md b/RELEASES.md index f711d77..fe1bd17 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,11 @@ +# Release 0.2.8 (2019-05-21) + +- [Fixed feature detection on `no_std` targets][116]. + +**Contributors**: @cuviper + +[116]: https://github.com/rust-num/num-traits/pull/116 + # Release 0.2.7 (2019-05-20) - [Documented when `CheckedShl` and `CheckedShr` return `None`][90].