Skip to content

Commit d302a6b

Browse files
committed
Add linker option to prevent segfault in Node worker threads
1 parent 474c67c commit d302a6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[target.'cfg(target_env = "gnu")']
2+
rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
13

24
[target.aarch64-unknown-linux-gnu]
35
linker = "aarch64-linux-gnu-gcc"

0 commit comments

Comments
 (0)