diff --git a/Makefile b/Makefile index 2382b33a06..113050b789 100644 --- a/Makefile +++ b/Makefile @@ -433,6 +433,7 @@ clippy_versionable: install_rs_check_toolchain .PHONY: clippy_tfhe_lints # Run clippy lints on tfhe-lints clippy_tfhe_lints: install_cargo_dylint # the toolchain is selected with toolchain.toml cd utils/tfhe-lints && \ + rustup toolchain install && \ cargo clippy --all-targets -- --no-deps -D warnings .PHONY: clippy_all # Run all clippy targets @@ -909,6 +910,7 @@ test_versionable: install_rs_build_toolchain .PHONY: test_tfhe_lints # Run test on tfhe-lints test_tfhe_lints: install_cargo_dylint cd utils/tfhe-lints && \ + rustup toolchain install && \ cargo test # The backward compat data repo holds historical binary data but also rust code to generate and load them. diff --git a/toolchain.txt b/toolchain.txt index 5e36f78b5b..abba71dcb6 100644 --- a/toolchain.txt +++ b/toolchain.txt @@ -1 +1 @@ -nightly-2025-02-19 +nightly-2025-02-20 diff --git a/utils/tfhe-lints/Cargo.toml b/utils/tfhe-lints/Cargo.toml index fbf2d17602..2e15349f9e 100644 --- a/utils/tfhe-lints/Cargo.toml +++ b/utils/tfhe-lints/Cargo.toml @@ -9,7 +9,7 @@ publish = false crate-type = ["cdylib"] [dependencies] -clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ff4a26d442bead94a4c96fb1de967374bc4fbd8e" } +clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "238edf273d195c8e472851ebd60571f77f978ac8" } dylint_linting = "3.2.1" [dev-dependencies] @@ -21,5 +21,5 @@ tfhe-versionable = "0.4.0" rustc_private = true [[example]] -name = "ui" -path = "ui/main.rs" +name = "ui" +path = "ui/main.rs" diff --git a/utils/tfhe-lints/rust-toolchain b/utils/tfhe-lints/rust-toolchain index e5dee9dafd..33813026b3 100644 --- a/utils/tfhe-lints/rust-toolchain +++ b/utils/tfhe-lints/rust-toolchain @@ -1,3 +1,4 @@ [toolchain] -channel = "nightly-2024-11-28" +channel = "nightly-2025-02-20" components = ["llvm-tools-preview", "rustc-dev"] +profile = "default"