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 d515e35 commit 4db5ca2
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 274 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
Loading

0 comments on commit 4db5ca2

Please sign in to comment.