Skip to content

Commit 78508d2

Browse files
committed
.cargo: add missing build section for MacOS
See https://zshipko.github.io/ocaml-rs/\#initial-setup
1 parent b34edf8 commit 78508d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cargo/config.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
[alias]
22
xtask = "run --package xtask --"
3+
4+
# See https://zshipko.github.io/ocaml-rs/#initial-setup
5+
# Required to avoid undefined symbols when building dylib on MacOS
6+
# (e.g. required for building plonk-wasm/plonk-neon at the time of writing).
7+
[build]
8+
rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"]

0 commit comments

Comments
 (0)