From ba2a2db209d9492a631b7c93844dfe1a39296b63 Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Sat, 31 May 2025 14:31:20 +0200 Subject: [PATCH] Hardcode the use of the "default" profile for rustup At some point rustup changed the default profile from "default" to "minimal" if no other profile was specified. This caused our pre-commit checks to fail which rely on clippy which is not in the "minimal" profile. We now specify our dependency on the "default" profile explicitly to be more independent of future rustup changes. --- template/rust-toolchain.toml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/template/rust-toolchain.toml.j2 b/template/rust-toolchain.toml.j2 index 804f25b4..450cfa9f 100644 --- a/template/rust-toolchain.toml.j2 +++ b/template/rust-toolchain.toml.j2 @@ -1,3 +1,4 @@ # DO NOT EDIT, this file is generated by operator-templating [toolchain] channel = "{[ rust_version }]" +profile = "default"