Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 14, 2024
1 parent 5cae1f8 commit 0470a7f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ opt-level = "s"
strip = "debuginfo"

# Optional: use https://github.com/WebAssembly/binaryen
# wasm-opt -Os --output output.wasm input.wasm
# wasm-opt -Os --output output.wasm input.wasm
28 changes: 14 additions & 14 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
11 changes: 10 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[toolchain]
channel = "nightly"
# channel = "stable"
profile = "default"
profile = "default"
components = [
"rust-src",
"rustc-dev",
"llvm-tools-preview",
"clippy",
"rustfmt",
"rustc",
"rust-analyzer"
]
3 changes: 3 additions & 0 deletions yard-rs/cubecl-xp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'] }

0 comments on commit 0470a7f

Please sign in to comment.