We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b7444 commit bc744bdCopy full SHA for bc744bd
tests_ffi/src/lib.rs
@@ -279,8 +279,10 @@ fn ffi_test() {
279
280
#[cfg(windows)]
281
let dll_path = "../target/debug/ffi_lib.dll";
282
- #[cfg(unix)]
+ #[cfg(all(unix, not(target_os = "macos")))]
283
let dll_path = "../target/debug/libffi_lib.so";
284
+ #[cfg(target_os = "macos")]
285
+ let dll_path = "../target/debug/libffi_lib.dylib";
286
let lib_path = Path::new(dll_path);
287
288
let mut uiua = Uiua::with_native_sys().with_args(vec![lib_path.to_string_lossy().into_owned()]);
0 commit comments