Skip to content

fix(v8): set RUSTC_BOOTSTRAP=1 when using Cargo nightly features - #1127

Merged
Renegade334 merged 1 commit into
nodejs:mainfrom
Renegade334:cargo-nightly-features
Jul 28, 2026
Merged

fix(v8): set RUSTC_BOOTSTRAP=1 when using Cargo nightly features#1127
Renegade334 merged 1 commit into
nodejs:mainfrom
Renegade334:cargo-nightly-features

Conversation

@Renegade334

Copy link
Copy Markdown
Member

We need to enable -Z bindeps to read the Chromium crates tree, but this is not available on Cargo release builds by default. Setting RUSTC_BOOTSTRAP overrides this behaviour.

This is technically an unstable feature, but Chromium's tooling also uses it for the same purpose, and it's extremely unlikely to be withdrawn.

Refs: #1117 (review)

We need to enable `-Z bindeps` to read the Chromium crates tree, but
this is not available on Cargo release builds by default. Setting
RUSTC_BOOTSTRAP overrides this behaviour.

This is technically an unstable feature, but Chromium's tooling also
uses it for the same purpose, and it's extremely unlikely to be
withdrawn.

Co-authored-by: Michaël Zasso <targos@protonmail.com>
@Renegade334
Renegade334 requested a review from targos July 28, 2026 12:58
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.32%. Comparing base (984125a) to head (66f9b35).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1127   +/-   ##
=======================================
  Coverage   57.32%   57.32%           
=======================================
  Files          53       53           
  Lines       10368    10368           
=======================================
  Hits         5943     5943           
  Misses       4425     4425           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Renegade334
Renegade334 merged commit 828f427 into nodejs:main Jul 28, 2026
11 checks passed
@Renegade334
Renegade334 deleted the cargo-nightly-features branch July 28, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants