Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,14 @@ jobs:
rustup target add x86_64-unknown-linux-musl

# Rebuild hyperlight-js NAPI addon targeting musl in release mode.
# deps/js-host-api is a symlink into the hyperlight-js release-tag checkout.
# deps/js-host-api is a symlink into the hyperlight-js release-tag checkout,
# which pins its own Rust toolchain via rust-toolchain.toml (currently 1.90).
# rustup honours that pin from the cwd, so the musl target must be added to
# THAT toolchain here — the top-level `rustup target add` only covered the
# default 1.89 toolchain, so the cross-compile failed with
# "error[E0463]: can't find crate for `core`".
cd "$GITHUB_WORKSPACE/deps/js-host-api"
rustup target add x86_64-unknown-linux-musl
npx napi build --platform --release --strip --target x86_64-unknown-linux-musl

# Rebuild hyperlight-analysis NAPI addon targeting musl in release mode.
Expand Down
Loading