Skip to content

Rust: Set RUSTUP_AUTO_INSTALL=1 - #22369

Merged
redsun82 merged 1 commit into
github:mainfrom
hvitved:rust/rustup-auto-install
Aug 18, 2026
Merged

Rust: Set RUSTUP_AUTO_INSTALL=1#22369
redsun82 merged 1 commit into
github:mainfrom
hvitved:rust/rustup-auto-install

Conversation

@hvitved

@hvitved hvitved commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the Rust Pull requests that update Rust code label Aug 18, 2026
@hvitved
hvitved requested a balanced review from Copilot August 18, 2026 08:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables rustup toolchain auto-installation for Rust extraction.

Changes:

  • Adds RUSTUP_AUTO_INSTALL=1 to cargo’s extra environment.
  • Preserves configured cargo environment overrides.
Show a summary per file
File Description
rust/extractor/src/config.rs Configures rustup auto-installation for cargo operations.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread rust/extractor/src/config.rs Outdated
Comment thread rust/extractor/src/config.rs Outdated
@hvitved
hvitved force-pushed the rust/rustup-auto-install branch from 58045c9 to e636bbd Compare August 18, 2026 08:25
Comment thread rust/extractor/src/config.rs Outdated
let sysroot_src_input = self.sysroot_src.as_ref().map(|p| join_path_buf(dir, p));
match (sysroot_input, sysroot_src_input) {
(None, None) => Sysroot::discover(dir, &self.cargo_extra_env),
(None, None) => Sysroot::discover(dir, &self.get_extra_env()),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uh, I thought we had gotten rid of this false positive?

Comment thread rust/extractor/src/config.rs Outdated
let sysroot_src_input = self.sysroot_src.as_ref().map(|p| join_path_buf(dir, p));
match (sysroot_input, sysroot_src_input) {
(None, None) => Sysroot::discover(dir, &self.cargo_extra_env),
(None, None) => Sysroot::discover(dir, &self.get_extra_env()),
@hvitved
hvitved force-pushed the rust/rustup-auto-install branch from e636bbd to 4c4e13c Compare August 18, 2026 08:28
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Aug 18, 2026
@redsun82
redsun82 marked this pull request as ready for review August 18, 2026 10:14
@redsun82
redsun82 requested review from a team as code owners August 18, 2026 10:14
@redsun82
redsun82 merged commit 5b46f51 into github:main Aug 18, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants