René's URL Explorer Experiment


Title: Build from source on Windows - Cargo error without Rust toolchain · Issue #63451 · nodejs/node · GitHub

Open Graph Title: Build from source on Windows - Cargo error without Rust toolchain · Issue #63451 · nodejs/node

X Title: Build from source on Windows - Cargo error without Rust toolchain · Issue #63451 · nodejs/node

Description: Follows on from #63213 Version v27.0.0-pre 0e8fb91 Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 25H2, follow prerequisite Manual install instructions using: Python 3.14.5...

Open Graph Description: Follows on from #63213 Version v27.0.0-pre 0e8fb91 Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 25H2, follow prerequisite Manual i...

X Description: Follows on from #63213 Version v27.0.0-pre 0e8fb91 Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 25H2, follow prerequisite Manual i...

Opengraph URL: https://github.com/nodejs/node/issues/63451

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build from source on Windows - Cargo error without Rust toolchain","articleBody":"Follows on from https://github.com/nodejs/node/issues/63213\n\n### Version\n\nv27.0.0-pre 0e8fb913d857b0d4123995e401293a0c9ee5efd8\n\n### Platform\n\n```text\nMicrosoft Windows NT 10.0.26200.0 x64\n```\n\n### Subsystem\n\nbuild\n\n### What steps will reproduce the bug?\n\nOn Windows 11 25H2, follow prerequisite [Manual install](https://github.com/nodejs/node/blob/main/BUILDING.md#option-1-manual-install) instructions using:\n- Python 3.14.5\n- Visual Basic 2026 Build Tools 18.6.0 (May 2026)\n  - C++ Clang Compiler for Windows (Microsoft.VisualStudio.Component.VC.Llvm.Clang)\n  - MSBuild support for LLVM (clang-cl) toolset (Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset)\n- NASM 3.01\n- Do not install a Rust toolchain (and otherwise ensure that there is no `rustc` or `cargo` installed).\n\nIn PowerShell 7 terminal, execute:\n\n```shell\ngit clone https://github.com/nodejs/node\ncd node\ngit switch main\ngit clean -xfd # if repeating\n.\\vcbuild.bat\nRelease\\node -e \"console.log('Hello from Node.js', process.version)\"\n```\n\n\n### How often does it reproduce? Is there a required condition?\n\nAlways if there is no Rust toolchain installed. Test with the following, which should both return errors:\n\n```shell\nrustc --version\ncargo --version\n```\n\n\n\n### What is the expected behavior? Why is that the expected behavior?\n\nIf a Rust toolchain is not installed, `vcbuild.bat` should warn (check for `rustc` \u0026 `cargo`) that Temporal support is disabled and continue to build without error.\n\nThis is implied by the documentation section [Building Node.js with Temporal support](https://github.com/nodejs/node/blob/main/BUILDING.md#building-nodejs-with-temporal-support) and the fact that on Linux, builds succeed if there is no Rust toolchain installed.\n\n\u003e If `--v8-enable-temporal-support` and `--v8-disable-temporal-support` are both omitted, `configure.py` probes for `cargo` and `rustc`. If either is missing, a warning is printed and Temporal support is disabled.\n\nIt should also be possible to disable temporal support actively when building under Windows.\n\n### What do you see instead?\n\nBuild emits error message and continues:\n\n\u003e C:\\Program Files (x86)\\Microsoft Visual Studio\\18\\BuildTools\\MSBuild\\Microsoft\\VC\\v180\\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'Cargo.toml' exited with code 1\n\u003e . [C:\\Users\\mikem\\github\\NODEJS\\node\\deps\\crates\\node_crates.vcxproj]\n\nDirectory `Release` is not created. (`out\\Release` also contains no `node.exe`)\n\n### Additional information\n\nLogs\n\n```text\n.\\vcbuild.bat\nLooking for Python\nPython found in C:\\Users\\mikem\\AppData\\Local\\Microsoft\\WindowsApps\\\\python.exe\nPython 3.14.5\nLooking for NASM\nClangCL is required because the Node.js version being compiled is \u003e= 24.\nLooking for Visual Studio 2026\ncalling: \"C:\\Program Files (x86)\\Microsoft Visual Studio\\18\\BuildTools\\VC\\\\Auxiliary\\Build\\vcvarsall.bat\" amd64\n**********************************************************************\n** Visual Studio 2026 Developer Command Prompt v18.6.0\n** Copyright (c) 2026 Microsoft Corporation\n**********************************************************************\n[vcvarsall.bat] Environment initialized for: 'x64'\nFound MSVS version 18.0\nFound Clang version 20.1.8\nconfigure  --dest-cpu=x64 --clang-cl=20.1.8\n[WARNING] A shebang '/bin/sh' was found but does not match any supported template (e.g. '/usr/bin/python'), so it will be treated as an arbitrary command.\n[WARNING] To prevent execution of programs that are not Python runtimes, set 'shebang_can_run_anything' to 'false' in your configuration file.\nNode.js configure: Found Python 3.14.5...\nWarning: Missing input files:\nC:\\Users\\mikem\\github\\NODEJS\\node\\deps\\uv\\src\\win\\atomicops-inl.h\nC:\\Users\\mikem\\github\\NODEJS\\node\\deps\\inspector_protocol\\crdtp\\maybe.h\nC:\\Users\\mikem\\github\\NODEJS\\node\\tools\\v8_gypfiles\\..\\..\\deps\\v8\\third_party\\abseil-cpp\\absl\\base\\internal\\nullability_impl.h\nC:\\Users\\mikem\\github\\NODEJS\\node\\tools\\v8_gypfiles\\..\\..\\deps\\v8\\third_party\\abseil-cpp\\absl\\base\\internal\\fast_type_id.h\nC:\\Users\\mikem\\github\\NODEJS\\node\\tools\\v8_gypfiles\\..\\..\\deps\\v8\\third_party\\abseil-cpp\\absl\\base\\internal\\identity.h\nINFO: configure completed successfully\nProject files generated.\n\nsrc\\hdr_histogram.c(149,23): warning : incompatible pointer types passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'unsigned long *' [-Wincompatible-pointer-types] [C:\\Us\ners\\mikem\\github\\NODEJS\\node\\deps\\histogram\\histogram.vcxproj]\nC:\\Program Files (x86)\\Microsoft Visual Studio\\18\\BuildTools\\VC\\Tools\\Llvm\\x64\\lib\\clang\\20\\include\\intrin0.h(71,48): message : passing argument to parameter '_Index' here [C:\\Users\\mike\nm\\github\\NODEJS\\node\\deps\\histogram\\histogram.vcxproj]\n  In file included from src\\hdr_histogram.c:18:\nsrc\\hdr_atomic.h(23,13): warning : unused function 'hdr_atomic_store_pointer' [-Wunused-function] [C:\\Users\\mikem\\github\\NODEJS\\node\\deps\\histogram\\histogram.vcxproj]\n  histogram.vcxproj -\u003e ..\\..\\out\\Release\\lib\\histogram.lib\n  cargo_build\n  Traceback (most recent call last):\n    File \"C:\\Users\\mikem\\github\\NODEJS\\node\\deps\\crates\\cargo_build.py\", line 60, in \u003cmodule\u003e\n      main()\n      ~~~~^^\n    File \"C:\\Users\\mikem\\github\\NODEJS\\node\\deps\\crates\\cargo_build.py\", line 47, in main\n      ret = subprocess.call(cmd)\n    File \"C:\\Users\\mikem\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\subprocess.py\", line 396, in call\n      with Popen(*popenargs, **kwargs) as p:\n           ~~~~~^^^^^^^^^^^^^^^^^^^^^^\n    File \"C:\\Users\\mikem\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\subprocess.py\", line 1039, in __init__\n      self._execute_child(args, executable, preexec_fn, close_fds,\n      ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                          pass_fds, cwd, env,\n                          ^^^^^^^^^^^^^^^^^^^\n      ...\u003c5 lines\u003e...\n                          gid, gids, uid, umask,\n                          ^^^^^^^^^^^^^^^^^^^^^^\n                          start_new_session, process_group)\n                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    File \"C:\\Users\\mikem\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\subprocess.py\", line 1553, in _execute_child\n      hp, ht, pid, tid = _winapi.CreateProcess(executable, args,\n                         ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n                               # no special security\n                               ^^^^^^^^^^^^^^^^^^^^^\n      ...\u003c4 lines\u003e...\n                               cwd,\n                               ^^^^\n                               startupinfo)\n                               ^^^^^^^^^^^^\n  FileNotFoundError: [WinError 2] The system cannot find the file specified\nC:\\Program Files (x86)\\Microsoft Visual Studio\\18\\BuildTools\\MSBuild\\Microsoft\\VC\\v180\\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'Cargo.toml' exited with code 1\n. [C:\\Users\\mikem\\github\\NODEJS\\node\\deps\\crates\\node_crates.vcxproj]\n```\n","author":{"url":"https://github.com/MikeMcC399","@type":"Person","name":"MikeMcC399"},"datePublished":"2026-05-20T09:19:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/63451/node/issues/63451"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e4738a9e-bcf5-2a24-bfb3-9b0032a9f6c5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A10:3415D:22112B:2DE1C0:6A4D32FE
html-safe-nonce0861dcf174354ae1f263072225806fd89ba0109a3442a9b2d00318c568857be2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTEwOjM0MTVEOjIyMTEyQjoyREUxQzA6NkE0RDMyRkUiLCJ2aXNpdG9yX2lkIjoiNTI5NDIzMjk1MDA1Njc2MDA2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9b41d2a922655ef9458c31f543c4256c6ba4a5aa13a7337f00b8b7ae2fae70af
hovercard-subject-tagissue:4484983729
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/63451/issue_layout
twitter:imagehttps://opengraph.githubassets.com/13e46b5de259c46d418ed559bdfcfa3b4f327a818319a5dbf735c3a6c0db0bbb/nodejs/node/issues/63451
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/13e46b5de259c46d418ed559bdfcfa3b4f327a818319a5dbf735c3a6c0db0bbb/nodejs/node/issues/63451
og:image:altFollows on from #63213 Version v27.0.0-pre 0e8fb91 Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 25H2, follow prerequisite Manual i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMikeMcC399
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/63451#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F63451
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F63451
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/63451
Reloadhttps://github.com/nodejs/node/issues/63451
Reloadhttps://github.com/nodejs/node/issues/63451
Please reload this pagehttps://github.com/nodejs/node/issues/63451
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/63451
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 957 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Build from source on Windows - Cargo error without Rust toolchainhttps://github.com/nodejs/node/issues/63451#top
https://github.com/MikeMcC399
MikeMcC399https://github.com/MikeMcC399
on May 20, 2026https://github.com/nodejs/node/issues/63451#issue-4484983729
#63213https://github.com/nodejs/node/issues/63213
0e8fb91https://github.com/nodejs/node/commit/0e8fb913d857b0d4123995e401293a0c9ee5efd8
Manual installhttps://github.com/nodejs/node/blob/main/BUILDING.md#option-1-manual-install
Building Node.js with Temporal supporthttps://github.com/nodejs/node/blob/main/BUILDING.md#building-nodejs-with-temporal-support
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.