Skip to content

Commit

Permalink
Add target.aarch64-apple-darwin conf to module examples
Browse files Browse the repository at this point in the history
  • Loading branch information
khvzak committed Oct 11, 2021
1 parent 458b067 commit 559f9e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/module/.cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
3 changes: 3 additions & 0 deletions tests/module/.cargo/config
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 559f9e6

Please sign in to comment.