-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
build: support building crates (temporal) on windows #61163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Review requested:
|
|
related pr: #61072 @legendecas , could you please review this when you get a chance? Thanks! |
|
I've modified it as you suggested. One CI failed during the clang install step: |
|
Could someone share the failure logs for node-test-commit? I can't access Jenkins. (missing the Overall/Read permission) |
|
It's unrelated flakiness. I've resumed the CI. |
Commit Queue failed- Loading data for nodejs/node/pull/61163 ✔ Done loading data for nodejs/node/pull/61163 ----------------------------------- PR info ------------------------------------ Title build: support building crates (temporal) on windows (#61163) Author 沈鸿飞 <shen.hongfei@outlook.com> (@ShenHongFei) Branch ShenHongFei:windows-crates-1 -> nodejs:main Labels author ready, needs-ci, dependencies Commits 2 - build: support building crates (temporal) on windows - update crates.gyp Committers 1 - GitHub <noreply@github.com> PR-URL: https://github.com/nodejs/node/pull/61163 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/61163 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Wed, 24 Dec 2025 03:17:20 GMT ✔ Approvals: 1 ✔ - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/61163#pullrequestreview-3616195256 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2025-12-30T17:49:30Z: https://ci.nodejs.org/job/node-test-pull-request/70634/ - Querying data for job/node-test-pull-request/70634/ ✔ Build data downloaded ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 61163 From https://github.com/nodejs/node * branch refs/pull/61163/merge -> FETCH_HEAD ✔ Fetched commits as 0457bfee2c25..8688ba99edae -------------------------------------------------------------------------------- [main 7cf451e32b] build: support building crates (temporal) on windows Author: 沈鸿飞 <shen.hongfei@outlook.com> Date: Wed Dec 24 11:14:13 2025 +0800 1 file changed, 15 insertions(+), 2 deletions(-) [main 76e1c4a2ea] update crates.gyp Author: 沈鸿飞 <shen.hongfei@outlook.com> Date: Mon Dec 29 14:31:04 2025 +0800 1 file changed, 8 insertions(+), 12 deletions(-) ✔ Patches applied There are 2 commits in the PR. Attempting autorebase. (node:2276) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated. (Use `node --trace-deprecation ...` to show where the warning was created) Rebasing (2/4) Executing: git node land --amend --yes --------------------------------- New Message ---------------------------------- build: support building crates (temporal) on windowshttps://github.com/nodejs/node/actions/runs/20649093966 |
The bot suggests using the |
|
Landed in ce444fa |
configure --v8-enable-temporal-support --with-ltcg --dest-cpu=x64 --clang-cl=20.1.8
Fixed an error when building crates.gyp on Windows, and correctly set the lib file extension and system library dependencies.
Current error
After repair
Node.js has been successfully built on windows
Temporal.Now.plainDateISO().toString()outputs'2025-12-24'