feat: add linux-musl (Alpine) builds for x64 and arm64 (#784)
* feat: add linux-musl (Alpine) builds for x64 and arm64 Add x86_64-unknown-linux-musl and aarch64-unknown-linux-musl targets to the release workflow using cargo-zigbuild. Update the JS wrapper and postinstall script to detect musl libc and select the correct binary. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: simplify isMusl() and add musl targets to build script Address PR #784 review feedback: - Remove redundant first try block in isMusl() (ldd --version always throws on musl, so only the `|| true` variant works) - Add x86_64-unknown-linux-musl and aarch64-unknown-linux-musl targets to build-all-platforms.sh to stay in sync with the release workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
c4a40033e0
commit
388f19e1bb
@@ -61,6 +61,12 @@ build_target "x86_64-apple-darwin" "agent-browser-darwin-x64"
|
||||
# macOS ARM64 (via zig for cross-compilation)
|
||||
build_target "aarch64-apple-darwin" "agent-browser-darwin-arm64"
|
||||
|
||||
# Linux musl x64 (Alpine)
|
||||
build_target "x86_64-unknown-linux-musl" "agent-browser-linux-musl-x64"
|
||||
|
||||
# Linux musl ARM64 (Alpine)
|
||||
build_target "aarch64-unknown-linux-musl" "agent-browser-linux-musl-arm64"
|
||||
|
||||
echo ""
|
||||
echo -e "${GREEN}Build complete!${NC}"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user