Skip to content

Commit

Permalink
Set nightly toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Jan 21, 2024
1 parent c36dd80 commit 48a8114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
fmt:
rustup install nightly-2024-01-11
rustup component add rustfmt --toolchain nightly-2024-01-11
cargo +nightly-2024-01-11 fmt --all -- --config format_code_in_doc_comments=true
cargo fmt --all -- --config format_code_in_doc_comments=true

check: fmt check-crates check-crates-msrv check-bindings check-docs

check-fmt:
rustup install nightly-2024-01-11
rustup component add rustfmt --toolchain nightly-2024-01-11
cargo +nightly-2024-01-11 fmt --all -- --config format_code_in_doc_comments=true --check
cargo fmt --all -- --config format_code_in_doc_comments=true --check

check-bindings:
@bash contrib/scripts/check-bindings.sh
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.75.0"
channel = "nightly-2024-01-11"
profile = "default"
components = ["clippy", "rust-docs", "rustfmt"]
targets = ["wasm32-unknown-unknown"]

0 comments on commit 48a8114

Please sign in to comment.