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.
Pkg.build()
1 parent 3060a4f commit 6619521Copy full SHA for 6619521
deps/build.jl
@@ -41,7 +41,11 @@ run(`which cargo`)
41
assert_compatible_version(`cargo -V`, "1.55.0")
42
rust_source = joinpath(@__DIR__, "rust_store")
43
# Elide rust warnings - they aren't helpful in this context
44
-ENV["RUSTFLAGS"]="-Awarnings"
+if Sys.isapple()
45
+ ENV["RUSTFLAGS"]="-Awarnings -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
46
+else
47
+ ENV["RUSTFLAGS"]="-Awarnings"
48
+end
49
# build release
50
cd(rust_source)
51
if Sys.islinux() || Sys.isapple()
0 commit comments