Updated nightly version

This commit is contained in:
Syrus 2019-06-13 21:37:55 +02:00
parent 86b78c6b14
commit 4059562560
3 changed files with 3 additions and 5 deletions

View File

@ -35,9 +35,9 @@ jobs:
name: Install lint deps
command: |
git config --global --unset url."ssh://git@github.com".insteadOf || true
rustup toolchain install nightly-2019-02-27
rustup toolchain install nightly-2019-05-20
rustup component add rustfmt
rustup component add clippy --toolchain=nightly-2019-02-27 || cargo +nightly-2019-02-27 install --git https://github.com/rust-lang/rust-clippy/ --force clippy
rustup component add clippy --toolchain=nightly-2019-05-20 || cargo +nightly-2019-05-20 install --git https://github.com/rust-lang/rust-clippy/ --force clippy
- run:
name: Execute lints
command: |

View File

@ -32,7 +32,7 @@ integration-tests: release
lint:
cargo fmt --all -- --check
cargo +nightly-2019-02-27 clippy --all
cargo +nightly-2019-05-20 clippy --all
precommit: lint test

View File

@ -1,11 +1,9 @@
use wasmer_runtime_core::vm::Ctx;
#[allow(clippy::all)]
pub fn _llvm_copysign_f32(_ctx: &mut Ctx, x: f64, y: f64) -> f64 {
x.copysign(y)
}
#[allow(clippy::all)]
pub fn _llvm_copysign_f64(_ctx: &mut Ctx, x: f64, y: f64) -> f64 {
x.copysign(y)
}