diff --git a/rust/codeql-extractor.yml b/rust/codeql-extractor.yml index c7785e5f8c7..76682ddf925 100644 --- a/rust/codeql-extractor.yml +++ b/rust/codeql-extractor.yml @@ -80,12 +80,6 @@ options: Collect flame graph data using the `tracing-flame` crate. To render a flame graph or chart, run the `inferno-flamegraph` command. See also: https://crates.io/crates/tracing-flame type: string - skip_path_resolution: - title: Skip path resolution - description: > - Skip path resolution. This is experimental, while we move path resolution from the extractor to the QL library. - type: string - pattern: "^(false|true)$" extract_dependencies_as_source: title: Extract dependencies as source code description: > diff --git a/rust/extractor/src/config.rs b/rust/extractor/src/config.rs index a26bf790f82..86d3ab6272c 100644 --- a/rust/extractor/src/config.rs +++ b/rust/extractor/src/config.rs @@ -69,7 +69,6 @@ pub struct Config { pub build_script_command: Vec, pub extra_includes: Vec, pub proc_macro_server: Option, - pub skip_path_resolution: bool, pub extract_dependencies_as_source: bool, pub force_library_mode: bool, // for testing purposes } diff --git a/rust/extractor/src/main.rs b/rust/extractor/src/main.rs index 1c8629cbbb9..6547efed70b 100644 --- a/rust/extractor/src/main.rs +++ b/rust/extractor/src/main.rs @@ -283,11 +283,7 @@ fn main() -> anyhow::Result<()> { } let cwd = cwd()?; let (cargo_config, load_cargo_config) = cfg.to_cargo_config(&cwd); - let resolve_paths = if cfg.skip_path_resolution { - ResolvePaths::No - } else { - ResolvePaths::Yes - }; + let resolve_paths = ResolvePaths::No; let (library_mode, library_resolve_paths) = if cfg.extract_dependencies_as_source { (SourceKind::Source, resolve_paths) } else { diff --git a/rust/ql/test/extractor-tests/canonical_path_disabled/options.yml b/rust/ql/test/extractor-tests/canonical_path_disabled/options.yml deleted file mode 100644 index baee4ba5afe..00000000000 --- a/rust/ql/test/extractor-tests/canonical_path_disabled/options.yml +++ /dev/null @@ -1 +0,0 @@ -skip_path_resolution: true