From 0dfacf4be809c00c0ea05031f079516d15fae351 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Tue, 12 Aug 2025 10:06:32 +0200 Subject: [PATCH] Rust: add test `rust-toolchain.toml` after fixing `.gitignore` --- rust/ql/test/.gitignore | 2 +- rust/ql/test/rust-toolchain.toml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 rust/ql/test/rust-toolchain.toml diff --git a/rust/ql/test/.gitignore b/rust/ql/test/.gitignore index 65baed5837a..29291fe2d12 100644 --- a/rust/ql/test/.gitignore +++ b/rust/ql/test/.gitignore @@ -2,7 +2,7 @@ target/ # these are all generated, see `rust/extractor/src/qltest.rs` for details Cargo.toml -rust-toolchain.toml +/*/**/rust-toolchain.toml lib.rs .proc_macro/ .lib/ diff --git a/rust/ql/test/rust-toolchain.toml b/rust/ql/test/rust-toolchain.toml new file mode 100644 index 00000000000..254f87e09e6 --- /dev/null +++ b/rust/ql/test/rust-toolchain.toml @@ -0,0 +1,7 @@ +# This file specifies the Rust version used to test the rust extractor. +# IMPORTANT: this can also have an impact on QL test results + +[toolchain] +channel = "1.86" +profile = "minimal" +components = [ "rust-src" ]