diff --git a/python/.cargo/config b/python/.cargo/config new file mode 100644 index 0000000..15d5d32 --- /dev/null +++ b/python/.cargo/config @@ -0,0 +1,5 @@ +[target.x86_64-apple-darwin] +rustflags = [ + "-C", "link-arg=-undefined", + "-C", "link-arg=dynamic_lookup", +] diff --git a/python/Cargo.toml b/python/Cargo.toml index 0a8414d..337b5b2 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -14,9 +14,3 @@ hyperbuild = "0.0.20" [dependencies.pyo3] version = "0.9.0-alpha.1" features = ["extension-module"] - -[target.x86_64-apple-darwin] -rustflags = [ - "-C", "link-arg=-undefined", - "-C", "link-arg=dynamic_lookup", -]