Skip to content

Commit d30871a

Browse files
committed
REVERT: Debug Windows CI build
1 parent 7faa978 commit d30871a

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

crates/bender-slang/build.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,24 @@ fn main() {
2727
// Build the slang library
2828
let dst = slang_lib.build();
2929

30+
// --- DEBUGGING: Dump library directory contents ---
31+
let lib_dir = dst.join("lib");
32+
println!(
33+
"cargo:warning=Searching for libraries in: {}",
34+
lib_dir.display()
35+
);
36+
match std::fs::read_dir(&lib_dir) {
37+
Ok(entries) => {
38+
for entry in entries {
39+
if let Ok(entry) = entry {
40+
println!("cargo:warning= Found file: {:?}", entry.file_name());
41+
}
42+
}
43+
}
44+
Err(e) => println!("cargo:warning= Error reading directory: {}", e),
45+
}
46+
// --------------------------------------------------
47+
3048
// Configure Linker to find Slang static library
3149
println!("cargo:rustc-link-search=native={}/lib", dst.display());
3250
println!("cargo:rustc-link-lib=static=svlang");

0 commit comments

Comments
 (0)