diff --git a/Cargo.toml b/Cargo.toml index 2e34778..41c2000 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,4 +60,4 @@ opt-level = "s" strip = "debuginfo" # Optional: use https://github.com/WebAssembly/binaryen -# wasm-opt -Os --output output.wasm input.wasm \ No newline at end of file +# wasm-opt -Os --output output.wasm input.wasm diff --git a/justfile b/justfile index 775f4f2..4d25279 100644 --- a/justfile +++ b/justfile @@ -32,18 +32,18 @@ test-stable: build-stable: cargo +stable build -[group('rust'), no-cd] -prep-stable: - # https://rust-analyzer.github.io/manual.html#installation - rustup toolchain install stable - rustup component add rust-src - rustup component add rust-analyzer - -[group('rust'), no-cd] -prep-nightly: - rustup toolchain install nightly - rustup component add rust-src --toolchain nightly - rustup component add rust-analyzer --toolchain nightly +# [group('rust'), no-cd] +# prep-stable: +# # https://rust-analyzer.github.io/manual.html#installation +# rustup toolchain install stable +# rustup component add rust-src +# rustup component add rust-analyzer + +# [group('rust'), no-cd] +# prep-nightly: +# rustup toolchain install nightly +# rustup component add rust-src --toolchain nightly +# rustup component add rust-analyzer --toolchain nightly [group('rust'), no-cd] @test-nightly: @@ -65,8 +65,8 @@ vcov: cov build-nightly: cargo +nightly build -[group('rust'), no-cd] -nightly: prep-nightly test-nightly +# [group('rust'), no-cd] +# nightly: prep-nightly test-nightly [group('rust'), no-cd] fmt: diff --git a/rust-toolchain.toml b/rust-toolchain.toml index a3c8ebe..56645c9 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,13 @@ [toolchain] channel = "nightly" # channel = "stable" -profile = "default" \ No newline at end of file +profile = "default" +components = [ + "rust-src", + "rustc-dev", + "llvm-tools-preview", + "clippy", + "rustfmt", + "rustc", + "rust-analyzer" +] \ No newline at end of file diff --git a/yard-rs/cubecl-xp/Cargo.toml b/yard-rs/cubecl-xp/Cargo.toml index f4958eb..9e790f9 100644 --- a/yard-rs/cubecl-xp/Cargo.toml +++ b/yard-rs/cubecl-xp/Cargo.toml @@ -18,3 +18,6 @@ half = { version = "2.4.1", features = [ "serde", ], default-features = false } pretty_assertions = "1.4.1" + +[lints.rust] +unexpected_cfgs = { level = "allow", check-cfg = ['cfg(coverage_nightly)'] } \ No newline at end of file