File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 rustup target add x86_64-unknown-linux-musl
7676
7777 # Rebuild hyperlight-js NAPI addon targeting musl in release mode.
78- # deps/js-host-api is a symlink into the hyperlight-js release-tag checkout.
78+ # deps/js-host-api is a symlink into the hyperlight-js release-tag checkout,
79+ # which pins its own Rust toolchain via rust-toolchain.toml (currently 1.90).
80+ # rustup honours that pin from the cwd, so the musl target must be added to
81+ # THAT toolchain here — the top-level `rustup target add` only covered the
82+ # default 1.89 toolchain, so the cross-compile failed with
83+ # "error[E0463]: can't find crate for `core`".
7984 cd "$GITHUB_WORKSPACE/deps/js-host-api"
85+ rustup target add x86_64-unknown-linux-musl
8086 npx napi build --platform --release --strip --target x86_64-unknown-linux-musl
8187
8288 # Rebuild hyperlight-analysis NAPI addon targeting musl in release mode.
You can’t perform that action at this time.
0 commit comments