Skip to content

Commit

Permalink
Fix compilation on macOS
Browse files Browse the repository at this point in the history
This fixes the compilation on x86_64 and Arm (M1) machines
running macOS.

Reference: mischov/meeseeks_html5ever#46
  • Loading branch information
philss committed Nov 1, 2021
1 parent cb844a9 commit 9a90178
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions native/html5ever_nif/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

0 comments on commit 9a90178

Please sign in to comment.