Skip to content

Commit bb70cf8

Browse files
committed
rust: define custom link arguments on aarch64-apple-darwin
We need these to avoid undefined symbols during linking.
1 parent a11cdf5 commit bb70cf8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
[target.aarch64-apple-darwin]
2+
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
3+
14
[target.x86_64-apple-darwin]
25
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]

0 commit comments

Comments
 (0)