diff --git a/.cargo/config.toml b/.cargo/config.toml index 8d1dff8..42bcf6d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,11 @@ # # https://stackoverflow.com/questions/28124221/error-linking-with-cc-failed-exit-code-1 # +[target.aarch64-apple-darwin] +rustflags = [ + "-C", "link-arg=-undefined", + "-C", "link-arg=dynamic_lookup", +] [target.x86_64-apple-darwin] rustflags = [ "-C", "link-arg=-undefined",