Add target.aarch64-apple-darwin conf to module examples

This commit is contained in:
Alex Orlenko 2021-10-11 18:07:34 +01:00
parent 458b06796c
commit 559f9e6c6b
No known key found for this signature in database
GPG key ID: 4C150C250863B96D
2 changed files with 9 additions and 0 deletions

View file

@ -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",
]

View file

@ -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"]