Skip to content

fix: match FormatJS Linux N-API release wiring#5

Merged
longlho merged 1 commit into
mainfrom
codex/fix-linux-napi-runtime
May 18, 2026
Merged

fix: match FormatJS Linux N-API release wiring#5
longlho merged 1 commit into
mainfrom
codex/fix-linux-napi-runtime

Conversation

@longlho
Copy link
Copy Markdown
Contributor

@longlho longlho commented May 18, 2026

Summary

  • match FormatJS by routing Linux N-API release targets through GNU release wrappers instead of musl cdylib targets
  • align rules_rs/llvm pins with FormatJS so Linux .node artifacts do not depend on libc++.so.1, libc++abi.so.1, or libunwind.so.1
  • keep Linux package artifacts to the .node payload and smoke-test for unresolved shared libraries

Verification

  • bazel test //...
  • bazel build --compilation_mode=opt //crates/codescythe_cli:release_binaries //crates/codescythe_napi:release_nodes //packages/codescythe:package //packages/codescythe-darwin-arm64:package //packages/codescythe-linux-amd64:package //packages/codescythe-linux-arm64:package
  • objdump -p on linux-amd64/linux-arm64 .node outputs: no NEEDED entries for libc++.so.1, libc++abi.so.1, or libunwind.so.1

@longlho longlho force-pushed the codex/fix-linux-napi-runtime branch from 1f3b2b9 to 3d326e5 Compare May 18, 2026 04:38
@longlho longlho changed the title fix: bundle Linux N-API runtime libraries fix: match FormatJS Linux N-API release wiring May 18, 2026
@longlho longlho merged commit 3e42a54 into main May 18, 2026
1 of 2 checks passed
@longlho longlho deleted the codex/fix-linux-napi-runtime branch May 18, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant