Skip to content

Commit d402bc8

Browse files
IceTDrinkernsarlin-zama
authored andcommitted
chore(ci): force installation of toolchain for tfhe-lints
1 parent 672751f commit d402bc8

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ clippy_versionable: install_rs_check_toolchain
433433
.PHONY: clippy_tfhe_lints # Run clippy lints on tfhe-lints
434434
clippy_tfhe_lints: install_cargo_dylint # the toolchain is selected with toolchain.toml
435435
cd utils/tfhe-lints && \
436+
rustup toolchain install && \
436437
cargo clippy --all-targets -- --no-deps -D warnings
437438

438439
.PHONY: clippy_all # Run all clippy targets
@@ -909,6 +910,7 @@ test_versionable: install_rs_build_toolchain
909910
.PHONY: test_tfhe_lints # Run test on tfhe-lints
910911
test_tfhe_lints: install_cargo_dylint
911912
cd utils/tfhe-lints && \
913+
rustup toolchain install && \
912914
cargo test
913915

914916
# The backward compat data repo holds historical binary data but also rust code to generate and load them.

toolchain.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2025-02-19
1+
nightly-2025-02-20

utils/tfhe-lints/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ff4a26d442bead94a4c96fb1de967374bc4fbd8e" }
12+
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "238edf273d195c8e472851ebd60571f77f978ac8" }
1313
dylint_linting = "3.2.1"
1414

1515
[dev-dependencies]
@@ -21,5 +21,5 @@ tfhe-versionable = "0.4.0"
2121
rustc_private = true
2222

2323
[[example]]
24-
name = "ui"
25-
path = "ui/main.rs"
24+
name = "ui"
25+
path = "ui/main.rs"

utils/tfhe-lints/rust-toolchain

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2024-11-28"
2+
channel = "nightly-2025-02-20"
33
components = ["llvm-tools-preview", "rustc-dev"]
4+
profile = "default"

0 commit comments

Comments
 (0)