Skip to content

build: separate host and target Rust artifacts in cross builds - #66823

Open
inoway46 wants to merge 1 commit into
nodejs:mainfrom
inoway46:build-rust-cross-targets
Open

inoway46 wants to merge 1 commit into
nodejs:mainfrom
inoway46:build-rust-cross-targets

Conversation

@inoway46

@inoway46 inoway46 commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Separate host and target Rust archives in bundled Temporal cross builds by capturing the Rust target triples during configure and using distinct Cargo output directories.

Validated archive generation and Temporal FFI linking/execution with Make for Linux x86_64 cross builds targeting AArch64 and RISC-V.

Fixes: #66897
Refs: #66803

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/build
  • @nodejs/gyp
  • @nodejs/inspector
  • @nodejs/security-wg
  • @nodejs/tsc
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. labels Oct 18, 2026
@inoway46

This comment was marked as outdated.

@inoway46

inoway46 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor Author

Additional integration validation: full RISC-V cross-build passed with Temporal enabled, including staged installation and QEMU runtime smoke tests.
https://github.com/inoway46/node/actions/runs/39183959521

This run combined #66804, #66823, and candidate V8 fixes. The full Node.js test suite was not run.

Capture the Rust target and host triples during configure for bundled
Temporal cross builds. Use explicit Cargo targets and separate output
directories so host and target archives do not share a build rule.

Refs: nodejs#66803
Assisted-by: Codex
Signed-off-by: inoway46 <inoueyuya416@gmail.com>
@inoway46
inoway46 force-pushed the build-rust-cross-targets branch from 19c9345 to 5ff420e Compare October 21, 2026 12:01
@inoway46
inoway46 marked this pull request as ready for review October 21, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: Temporal cross builds do not separate host and target Rust archives

2 participants