Skip to content

Commit 559f9e6

Browse files
committed
Add target.aarch64-apple-darwin conf to module examples
1 parent 458b067 commit 559f9e6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

examples/module/.cargo/config

+6
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ rustflags = [
33
"-C", "link-arg=-undefined",
44
"-C", "link-arg=dynamic_lookup",
55
]
6+
7+
[target.aarch64-apple-darwin]
8+
rustflags = [
9+
"-C", "link-arg=-undefined",
10+
"-C", "link-arg=dynamic_lookup",
11+
]

tests/module/.cargo/config

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[target.x86_64-apple-darwin]
22
rustflags = ["-C", "link-args=-rdynamic"]
33

4+
[target.aarch64-apple-darwin]
5+
rustflags = ["-C", "link-args=-rdynamic"]
6+
47
[target.x86_64-unknown-linux-gnu]
58
rustflags = ["-C", "link-args=-rdynamic"]

0 commit comments

Comments
 (0)