Skip to content

Commit ed07da4

Browse files
committed
Rust: Include nested .rs files in codeql test run
1 parent 3e10e78 commit ed07da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/extractor/src/qltest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ path = "main.rs"
5151
}
5252

5353
fn set_sources(config: &mut Config) -> anyhow::Result<()> {
54-
let path_iterator = glob("*.rs").context("globbing test sources")?;
54+
let path_iterator = glob("**/*.rs").context("globbing test sources")?;
5555
config.inputs = path_iterator
5656
.collect::<Result<Vec<_>, _>>()
5757
.context("fetching test sources")?;

0 commit comments

Comments
 (0)