Skip to content

Commit b8ce54f

Browse files
Copilothardfist
andauthored
fix: enable panic backtrace for release-debug profile (#12856)
* Initial plan * fix: enable panic backtrace for release-debug Co-authored-by: hardfist <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: hardfist <[email protected]>
1 parent d9a74d5 commit b8ce54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/node_binding/scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async function build() {
7171
rustflags.push("-Zfmt-debug=none");
7272
}
7373
args.push("--no-dts-cache");
74-
if (!values.profile || values.profile === "dev") {
74+
if (!values.profile || values.profile === "dev" || values.profile === "release-debug") {
7575
features.push("color-backtrace");
7676
}
7777
if (process.env.SFTRACE) {

0 commit comments

Comments
 (0)