From 7c95bb243e313c744f977aaaae75dea14406be42 Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:09:51 +0100 Subject: [PATCH] Rust: Update example path. --- rust/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/README.md b/rust/README.md index ae94fc49409..87c7072c675 100644 --- a/rust/README.md +++ b/rust/README.md @@ -17,9 +17,9 @@ bazel run @codeql//rust:rust-installer ``` You now need to create a [per-user CodeQL configuration file](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/specifying-command-options-in-a-codeql-configuration-file#using-a-codeql-configuration-file) and specify the option: ``` ---search-path Users/YOURUSERNAME/semmle-code/ql +--search-path PATH/TO/semmle-code/ql ``` -(or wherever the `codeql` checkout is on your system) +(wherever the `codeql` checkout is on your system) You can now use the Rust extractor e.g. to run Rust tests from the command line or in VSCode.