Skip to content

Commit

Permalink
fix(ci): fix musl build failed in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hardfist committed Sep 26, 2024
1 parent 5df32bd commit 7c5f6cd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
"packageManager": "[email protected]",
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"@napi-rs/[email protected]": "patches/@[email protected]"
}
},
"lint-staged": {
Expand Down
13 changes: 13 additions & 0 deletions patches/@[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/api/build.js b/dist/api/build.js
index a9c86f2fa91ec42ff6869651eb39ec7da8a155ac..02a901e18e527f2836b26d51ca32eaceab017a51 100644
--- a/dist/api/build.js
+++ b/dist/api/build.js
@@ -306,7 +306,7 @@ class Builder {
rustflags += ' -C link-arg=-s';
}
if (rustflags.length) {
- this.envs.RUSTFLAGS = rustflags;
+ // this.envs.RUSTFLAGS = rustflags;
}
// END RUSTFLAGS
// LINKER
7 changes: 5 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c5f6cd

Please sign in to comment.