Skip to content

Commit fa2c55b

Browse files
committed
Link to CoreServices
Fixes #428
1 parent 265a0e0 commit fa2c55b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rye/src/main.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// libcurl crashes on Somona unless CoreServices is linked in
2+
// See https://github.com/mitsuhiko/rye/issues/428
3+
#[cfg_attr(target_os = "macos", link(name = "CoreServices", kind = "framework"))]
4+
extern "C" {}
5+
16
use std::process;
27
use std::sync::atomic::{AtomicBool, Ordering};
38

0 commit comments

Comments
 (0)