We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb47b26 commit 13f689cCopy full SHA for 13f689c
.cargo/config.toml
@@ -0,0 +1,5 @@
1
+# Addresses a potential segmentation fault issue that occurs when
2
+# running napi-rs within a Node.js worker thread on GNU/Linux systems.
3
+# See https://x.com/Brooooook_lyn/status/1895848334692401270
4
+[target.'cfg(target_env = "gnu")']
5
+rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
0 commit comments