Title: Build from source on Windows - vcbuild does not prevent failed build attempt without Rust toolchain · Issue #66848 · nodejs/node · GitHub
Open Graph Title: Build from source on Windows - vcbuild does not prevent failed build attempt without Rust toolchain · Issue #66848 · nodejs/node
X Title: Build from source on Windows - vcbuild does not prevent failed build attempt without Rust toolchain · Issue #66848 · nodejs/node
Description: Follows on from #63451 Version v27.0.0-pre cd192cd Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 26H2, follow prerequisite Manual install instructions using: Python 3.15.0...
Open Graph Description: Follows on from #63451 Version v27.0.0-pre cd192cd Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 26H2, follow prerequisite Manual i...
X Description: Follows on from #63451 Version v27.0.0-pre cd192cd Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 26H2, follow prerequisite Manual i...
Opengraph URL: https://github.com/nodejs/node/issues/66848
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build from source on Windows - vcbuild does not prevent failed build attempt without Rust toolchain","articleBody":"Follows on from https://github.com/nodejs/node/issues/63451\n\n## Version\nv27.0.0-pre cd192cd4429475f644270e791a9b802778ef4e78\n\n## Platform\nMicrosoft Windows NT 10.0.26200.0 x64\n\n## Subsystem\nbuild\n\n## What steps will reproduce the bug?\n\nOn Windows 11 26H2, follow prerequisite [Manual install](https://github.com/nodejs/node/blob/main/BUILDING.md#option-1-manual-install) instructions using:\n- Python 3.15.0\n- Visual Basic 2026 Build Tools 18.11.0 (October 2026)\n - C++ Clang Compiler for Windows (Microsoft.VisualStudio.Component.VC.Llvm.Clang) (22.1.3)\n - MSBuild support for LLVM (clang-cl) toolset (Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset)\n- NASM 3.02\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## How often does it reproduce? Is there a required condition?\n\nNo Rust toolchain installed.\n\n## What is the expected behavior? Why is that the expected behavior?\n\nIf a Rust toolchain is not installed, `vcbuild.bat` should detect this and then fail fast instead of continuing with the build attempt which is ultimately unsuccessful.\n\n## What do you see instead?\n\nBuild emits error message and continues:\n\n> 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> . [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\ncc: @StefanStojanovic \n\n","author":{"url":"https://github.com/MikeMcC399","@type":"Person","name":"MikeMcC399"},"datePublished":"2026-10-19T13:12:56Z","url":"https://github.com/nodejs/node/issues/66848"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4f9f2e7d-2e5d-54bd-63a9-0f3120737a64 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9368:3C1C49:1DA7F65:26F9231:6B033853 |
| html-safe-nonce | 3f9576d01222be932d71cdbd6c01a14a798506fe5dd653e505728357dbcba6b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzY4OjNDMUM0OToxREE3RjY1OjI2RjkyMzE6NkIwMzM4NTMiLCJ2aXNpdG9yX2lkIjoiODg5NjI4NTUwNTY4ODM4NTYxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 911102af6ba694d056e3ec4bca12e460c68b424c45eb971b7feb92a5406480e9 |
| hovercard-subject-tag | issue:5924523877 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/66848/issue_layout |
| twitter:image | https://opengraph.githubassets.com/06befb35a523cd66165b72d636e2475e9d15a6bc8315adcc214b0361882f5409/nodejs/node/issues/66848 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/06befb35a523cd66165b72d636e2475e9d15a6bc8315adcc214b0361882f5409/nodejs/node/issues/66848 |
| og:image:alt | Follows on from #63451 Version v27.0.0-pre cd192cd Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? On Windows 11 26H2, follow prerequisite Manual i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikeMcC399 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width