From 559f9e6c6b8c655d90a6243a112b1482ef3df3f9 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Mon, 11 Oct 2021 18:07:34 +0100 Subject: [PATCH] Add `target.aarch64-apple-darwin` conf to module examples --- examples/module/.cargo/config | 6 ++++++ tests/module/.cargo/config | 3 +++ 2 files changed, 9 insertions(+) diff --git a/examples/module/.cargo/config b/examples/module/.cargo/config index 15d5d32..d47f983 100644 --- a/examples/module/.cargo/config +++ b/examples/module/.cargo/config @@ -3,3 +3,9 @@ rustflags = [ "-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup", ] + +[target.aarch64-apple-darwin] +rustflags = [ + "-C", "link-arg=-undefined", + "-C", "link-arg=dynamic_lookup", +] diff --git a/tests/module/.cargo/config b/tests/module/.cargo/config index 0f23665..6d87dde 100644 --- a/tests/module/.cargo/config +++ b/tests/module/.cargo/config @@ -1,5 +1,8 @@ [target.x86_64-apple-darwin] rustflags = ["-C", "link-args=-rdynamic"] +[target.aarch64-apple-darwin] +rustflags = ["-C", "link-args=-rdynamic"] + [target.x86_64-unknown-linux-gnu] rustflags = ["-C", "link-args=-rdynamic"]