Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit a90d24d

Browse files
committed
fixup
1 parent 6331d92 commit a90d24d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

crates/libm-cdylib/src/test_utils.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,14 @@ pub(crate) fn compile_file(src_path: &Path, bin_path: &Path) {
4848

4949
// Link our libm
5050
let lib_path = cdylib_dir();
51-
cmd.arg(format!("-L/{}", lib_path.display()));
51+
{
52+
let mut ls = process::Command::new("ls");
53+
ls.arg(lib_path.clone());
54+
let output = ls.output().unwrap();
55+
let output = String::from_utf8(output.stdout).unwrap();
56+
println!("ls\n{}]n", output);
57+
}
58+
cmd.arg(format!("-L{}", lib_path.display()));
5259
cmd.arg("-llibm");
5360

5461
eprintln!("compile cmd: {:?}", cmd);

0 commit comments

Comments
 (0)