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 d2ae8f2 commit 7d4a1a3Copy full SHA for 7d4a1a3
crates/node_binding/scripts/build.js
@@ -87,7 +87,9 @@ async function build() {
87
}
88
if (values.profile === "release") {
89
features.push("info-level");
90
- rustflags.push("-Cforce-unwind-tables=no");
+ if (process.env.RUST_TARGET && !process.env.RUST_TARGET.startsWith("windows-msvc")) {
91
+ rustflags.push("-Cforce-unwind-tables=no");
92
+ }
93
94
if (features.length) {
95
args.push("--features " + features.join(","));
0 commit comments