From 5c1b618610fe131dbce7edbf82f8b068bc70073e Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sun, 19 Jan 2020 17:06:46 +1100 Subject: [PATCH] Move Cargo config from Cargo.toml --- python/.cargo/config | 5 +++++ python/Cargo.toml | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 python/.cargo/config 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", -]