depend on rustc version 1.50.0
This commit is contained in:
parent
6300fcc486
commit
fa84a1825b
|
@ -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.47.0-%TARGET%
|
||||
- rustup toolchain install --profile minimal beta-%TARGET% 1.50.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.47.0-%TARGET% test --lib --features "fail-on-warnings az f16 num-traits serde std"
|
||||
- cargo +1.50.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"
|
||||
|
|
|
@ -28,11 +28,11 @@ x86_64-gnulinux:
|
|||
paths:
|
||||
- cargo/
|
||||
script:
|
||||
- rustup toolchain install --profile minimal beta-$TARGET 1.47.0-$TARGET
|
||||
- rustup toolchain install --profile minimal beta-$TARGET 1.50.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.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"
|
||||
- cargo +1.50.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std"
|
||||
- cargo +1.50.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.47.0-$TARGET
|
||||
- rustup toolchain install --profile minimal beta-$TARGET 1.50.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.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"
|
||||
- cargo +1.50.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std"
|
||||
- cargo +1.50.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std"
|
||||
|
||||
x86_64-gnulinux-tidy:
|
||||
image: amd64/rust:1
|
||||
|
|
|
@ -81,6 +81,7 @@ The conversions supported cover the following cases.
|
|||
|
||||
### Version 1.7.0 news (unreleased)
|
||||
|
||||
* The crate now requires rustc version 1.50.0 or later.
|
||||
* The following methods were added to all fixed-point numbers, to
|
||||
the [`Fixed`][tf-1-7] trait, and to the [`Wrapping`][w-1-7] and
|
||||
[`Unwrapped`][u-1-7] wrappers:
|
||||
|
@ -237,7 +238,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
|
|||
fixed = "1.6"
|
||||
```
|
||||
|
||||
The *fixed* crate requires rustc version 1.47.0 or later.
|
||||
The *fixed* crate requires rustc version 1.50.0 or later.
|
||||
|
||||
## Optional features
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ as-is, without any warranty. -->
|
|||
Version 1.7.0 (unreleased)
|
||||
==========================
|
||||
|
||||
* The crate now requires rustc version 1.50.0 or later.
|
||||
* The following methods were added to all fixed-point numbers, to
|
||||
the [`Fixed`][tf-1-7] trait, and to the [`Wrapping`][w-1-7] and
|
||||
[`Unwrapped`][u-1-7] wrappers:
|
||||
|
|
|
@ -167,7 +167,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
|
|||
fixed = "1.6"
|
||||
```
|
||||
|
||||
The *fixed* crate requires rustc version 1.47.0 or later.
|
||||
The *fixed* crate requires rustc version 1.50.0 or later.
|
||||
|
||||
## Optional features
|
||||
|
||||
|
|
Loading…
Reference in New Issue