Skip to content

Commit 992bd16

Browse files
authored
Update nightly version. (#8687)
1 parent 0d05e15 commit 992bd16

File tree

9 files changed

+13
-17
lines changed

9 files changed

+13
-17
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v5
1515
- uses: dtolnay/rust-toolchain@master
1616
with:
17-
toolchain: nightly-2025-11-02
17+
toolchain: nightly-2025-11-17
1818
targets: wasm32-unknown-unknown
1919
- uses: Swatinem/rust-cache@v2
2020
- run: |
@@ -27,7 +27,7 @@ jobs:
2727
- uses: dtolnay/rust-toolchain@master
2828
with:
2929
components: rustfmt
30-
toolchain: nightly-2025-11-02
30+
toolchain: nightly-2025-11-17
3131
- uses: dtolnay/rust-toolchain@stable
3232
- uses: Swatinem/rust-cache@v2
3333
- run: cargo test --profile=ci-dev -p cairo-lang-syntax-codegen
@@ -110,7 +110,7 @@ jobs:
110110
- uses: dtolnay/rust-toolchain@master
111111
with:
112112
components: rustfmt
113-
toolchain: nightly-2025-11-02
113+
toolchain: nightly-2025-11-17
114114
- uses: Swatinem/rust-cache@v2
115115
- run: scripts/rust_fmt.sh --check
116116

@@ -164,7 +164,7 @@ jobs:
164164
- uses: dtolnay/rust-toolchain@master
165165
with:
166166
components: clippy
167-
toolchain: nightly-2025-11-02
167+
toolchain: nightly-2025-11-17
168168
- uses: Swatinem/rust-cache@v2
169169
- run: >
170170
scripts/clippy.sh
@@ -191,7 +191,7 @@ jobs:
191191
- uses: actions/checkout@v5
192192
- uses: dtolnay/rust-toolchain@master
193193
with:
194-
toolchain: nightly-2025-11-02
194+
toolchain: nightly-2025-11-17
195195
- uses: Swatinem/rust-cache@v2
196196
- run: >
197197
scripts/docs.sh

crates/cairo-lang-casm/src/hints/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![expect(clippy::literal_string_with_formatting_args)]
21
#[cfg(not(feature = "std"))]
32
use alloc::{
43
format,

crates/cairo-lang-syntax-codegen/src/generator.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn reformat_rust_code(text: String) -> String {
4949
}
5050
pub fn reformat_rust_code_inner(text: String) -> String {
5151
let sh = Shell::new().unwrap();
52-
let cmd = sh.cmd("rustfmt").env("RUSTUP_TOOLCHAIN", "nightly-2025-11-02");
52+
let cmd = sh.cmd("rustfmt").env("RUSTUP_TOOLCHAIN", "nightly-2025-11-17");
5353
let cmd_with_args = cmd.arg("--config-path").arg(project_root().join("rustfmt.toml"));
5454
let mut stdout = cmd_with_args.stdin(text).read().unwrap();
5555
if !stdout.ends_with('\n') {
@@ -396,7 +396,6 @@ fn gen_common_list_code(name: &str, green_name: &str, ptr_name: &str) -> rust::T
396396
}
397397
}
398398

399-
#[expect(clippy::literal_string_with_formatting_args)]
400399
fn gen_enum_code(
401400
name: String,
402401
variants: Vec<Variant>,
@@ -514,7 +513,6 @@ fn gen_enum_code(
514513
}
515514
}
516515

517-
#[expect(clippy::literal_string_with_formatting_args)]
518516
fn gen_token_code(name: String) -> rust::Tokens {
519517
let green_name = format!("{name}Green");
520518
let ptr_name = format!("{name}Ptr");
@@ -594,7 +592,6 @@ fn gen_token_code(name: String) -> rust::Tokens {
594592
}
595593
}
596594

597-
#[expect(clippy::literal_string_with_formatting_args)]
598595
fn gen_struct_code(name: String, members: Vec<Member>, is_terminal: bool) -> rust::Tokens {
599596
let green_name = format!("{name}Green");
600597
let mut body = rust::Tokens::new();

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The `rustfmt` configuration used by cairo requires a nightly version of Rust.
2424
You can install the nightly version by running.
2525

2626
```sh
27-
rustup install nightly-2025-11-02
27+
rustup install nightly-2025-11-17
2828
```
2929

3030
## Running Tests

docs/reference/src/components/cairo/modules/getting_started/pages/prerequisites.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ You can install the nightly version by running.
3636

3737
[source,bash]
3838
----
39-
rustup install nightly-2025-11-02
39+
rustup install nightly-2025-11-17
4040
----

rustfmt.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ wrap_comments = true
2323
# "rust-analyzer.rustfmt.overrideCommand": [
2424
# "rustup",
2525
# "run",
26-
# "nightly-2025-11-02",
26+
# "nightly-2025-11-17",
2727
# "--",
2828
# "rustfmt",
2929
# "--edition",
3030
# "2024",
3131
# "--"
3232
# ]
33-
# and run "rustup toolchain install nightly-2025-11-02".
33+
# and run "rustup toolchain install nightly-2025-11-17".

scripts/clippy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export RUSTUP_TOOLCHAIN="${RUSTUP_TOOLCHAIN:-nightly-2025-11-02}"
3+
export RUSTUP_TOOLCHAIN="${RUSTUP_TOOLCHAIN:-nightly-2025-11-17}"
44

55
cargo clippy "$@" --all-targets --all-features -- -D warnings -D future-incompatible \
66
-D nonstandard-style -D rust-2018-idioms -D unused

scripts/docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
export RUSTUP_TOOLCHAIN="${RUSTUP_TOOLCHAIN:-nightly-2025-11-02}"
3+
export RUSTUP_TOOLCHAIN="${RUSTUP_TOOLCHAIN:-nightly-2025-11-17}"
44

55
RUSTDOCFLAGS="-Dwarnings" cargo doc --document-private-items --no-deps --all-features

scripts/rust_fmt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
export RUSTUP_TOOLCHAIN="${RUSTUP_TOOLCHAIN:-nightly-2025-11-02}"
3+
export RUSTUP_TOOLCHAIN="${RUSTUP_TOOLCHAIN:-nightly-2025-11-17}"
44

55
cargo fmt --all -- "$@"

0 commit comments

Comments
 (0)