mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 22:51:32 +00:00
Updated nightly version
This commit is contained in:
@ -35,9 +35,9 @@ jobs:
|
|||||||
name: Install lint deps
|
name: Install lint deps
|
||||||
command: |
|
command: |
|
||||||
git config --global --unset url."ssh://git@github.com".insteadOf || true
|
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 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:
|
- run:
|
||||||
name: Execute lints
|
name: Execute lints
|
||||||
command: |
|
command: |
|
||||||
|
2
Makefile
2
Makefile
@ -32,7 +32,7 @@ integration-tests: release
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
cargo fmt --all -- --check
|
cargo fmt --all -- --check
|
||||||
cargo +nightly-2019-02-27 clippy --all
|
cargo +nightly-2019-05-20 clippy --all
|
||||||
|
|
||||||
precommit: lint test
|
precommit: lint test
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
use wasmer_runtime_core::vm::Ctx;
|
use wasmer_runtime_core::vm::Ctx;
|
||||||
|
|
||||||
#[allow(clippy::all)]
|
|
||||||
pub fn _llvm_copysign_f32(_ctx: &mut Ctx, x: f64, y: f64) -> f64 {
|
pub fn _llvm_copysign_f32(_ctx: &mut Ctx, x: f64, y: f64) -> f64 {
|
||||||
x.copysign(y)
|
x.copysign(y)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::all)]
|
|
||||||
pub fn _llvm_copysign_f64(_ctx: &mut Ctx, x: f64, y: f64) -> f64 {
|
pub fn _llvm_copysign_f64(_ctx: &mut Ctx, x: f64, y: f64) -> f64 {
|
||||||
x.copysign(y)
|
x.copysign(y)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user