fix(rust_extractor): ensure glob result is a file
@@ -79,9 +79,11 @@ fn main() -> Result<()> {
let absolute_out_dir = out_dir.replace("${pwd}", pwd.to_str().unwrap());
let glob_pattern = format!("{}/**/*", absolute_out_dir);
for path in glob(&glob_pattern).unwrap().flatten() {
+ if path.is_file() {
out_dir_inputs.push(path.display().to_string());
}
}
+ }
// Grab the build target's output path
let build_output_path = spawn_info
