depend on rustc version 1.47.0

This commit is contained in:
Trevor Spiteri 2021-02-01 11:18:29 +01:00
parent 306b2c4708
commit c4a63ae243
5 changed files with 19 additions and 10 deletions

View File

@ -22,7 +22,7 @@ install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe -y --default-host %TARGET% --default-toolchain none --no-modify-path
- rustup --version
- rustup toolchain install --profile minimal beta-%TARGET% 1.44.0-%TARGET%
- rustup toolchain install --profile minimal beta-%TARGET% 1.47.0-%TARGET%
- rustup component add --toolchain beta-%TARGET% clippy
build: false
@ -34,7 +34,7 @@ before_test:
test_script:
- cargo +beta-%TARGET% clippy --all-targets --features "fail-on-warnings az f16 num-traits serde std"
- cargo +beta-%TARGET% test --release --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.44.0-%TARGET% test --lib --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.47.0-%TARGET% test --lib --features "fail-on-warnings az f16 num-traits serde std"
after_test:
- bash -c "if [ -d $USERPROFILE/.cargo/registry/cache ]; then cd $USERPROFILE/.cargo/registry; for c in cache/*/*.crate; do s=src/${c#cache/}; if [ ! -e ${s/.crate/} ]; then rm -v $c; fi; done; find cache -name \*.crate | sort; fi"

View File

@ -28,11 +28,11 @@ x86_64-gnulinux:
paths:
- cargo/
script:
- rustup toolchain install --profile minimal beta-$TARGET 1.44.0-$TARGET
- rustup toolchain install --profile minimal beta-$TARGET 1.47.0-$TARGET
- cargo +beta-$TARGET test --features "fail-on-warnings az f16 num-traits serde std"
- cargo +beta-$TARGET test --release --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.44.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.44.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.47.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.47.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std"
i686-gnulinux:
image: i386/rust:1
@ -43,11 +43,11 @@ i686-gnulinux:
paths:
- cargo/
script:
- rustup toolchain install --profile minimal beta-$TARGET 1.44.0-$TARGET
- rustup toolchain install --profile minimal beta-$TARGET 1.47.0-$TARGET
- cargo +beta-$TARGET test --features "fail-on-warnings az f16 num-traits serde std"
- cargo +beta-$TARGET test --release --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.44.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.44.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.47.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std"
- cargo +1.47.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std"
x86_64-gnulinux-tidy:
image: amd64/rust:1

View File

@ -78,6 +78,10 @@ The conversions supported cover the following cases.
## Whats new
### Version 1.6.0 news (unreleased)
* The crate now requires rustc version 1.47.0 or later.
### Version 1.5.0 news (2020-11-05)
* The [`wide_mul`][f-wm-1-5] method was added to all fixed-point
@ -258,7 +262,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
fixed = "1.5"
```
The *fixed* crate requires rustc version 1.44.0 or later.
The *fixed* crate requires rustc version 1.47.0 or later.
## Optional features

View File

@ -5,6 +5,11 @@ modification, are permitted in any medium without royalty provided the
copyright notice and this notice are preserved. This file is offered
as-is, without any warranty. -->
Version 1.6.0 (unreleased)
==========================
* The crate now requires rustc version 1.47.0 or later.
Version 1.5.0 (2020-11-05)
==========================

View File

@ -166,7 +166,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
fixed = "1.5"
```
The *fixed* crate requires rustc version 1.44.0 or later.
The *fixed* crate requires rustc version 1.47.0 or later.
## Optional features