infinyon / infinyon/node-bindgen

building windows on arm

Open
#320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
587
Forks
43
PR merge metrics
No merged PRs in 30d

Description

when build on windows on arm, it grabs the x64 build unconditionally when it should grab win-arm64

https://github.com/infinyon/node-bindgen/blob/02dcd71418d09867262335feaa5b25d18835aeaa/nj-build/src/lib.rs#L80-L84

this gives a linker error when trying to build

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in nj-build/src/lib.rs at lines 80-84 and inspect how the build selects the Windows artifact. Update the selection so Windows on ARM uses win-arm64 rather than x64, then verify that building on Windows ARM no longer produces the reported linker error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, rust
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.