Skip to content

Commit 9a90178

Browse files
committed
Fix compilation on macOS
This fixes the compilation on x86_64 and Arm (M1) machines running macOS. Reference: mischov/meeseeks_html5ever#46
1 parent cb844a9 commit 9a90178

File tree

1 file changed

+11
-0
lines changed
  • native/html5ever_nif/.cargo

1 file changed

+11
-0
lines changed

native/html5ever_nif/.cargo/config

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

0 commit comments

Comments
 (0)