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.
2 parents 8c8deff + 5c2e1a6 commit 90f08abCopy full SHA for 90f08ab
tests_ffi/src/lib.rs
@@ -234,8 +234,10 @@ fn ffi_test() {
234
235
#[cfg(windows)]
236
let dll_path = "../target/debug/ffi_lib.dll";
237
- #[cfg(unix)]
+ #[cfg(all(unix, not(target_os = "macos")))]
238
let dll_path = "../target/debug/libffi_lib.so";
239
+ #[cfg(target_os = "macos")]
240
+ let dll_path = "../target/debug/libffi_lib.dylib";
241
let lib_path = Path::new(dll_path);
242
243
let mut uiua = Uiua::with_native_sys().with_args(vec![lib_path.to_string_lossy().into_owned()]);
0 commit comments