Skip to content

feat: support @argfile for rustc-fake - #2509

Merged
Kobzol merged 1 commit into
rust-lang:mainfrom
weihanglo:rustc-fake-argfile
Jul 27, 2026
Merged

feat: support @argfile for rustc-fake#2509
Kobzol merged 1 commit into
rust-lang:mainfrom
weihanglo:rustc-fake-argfile

Conversation

@weihanglo

Copy link
Copy Markdown
Member

This PR includes

  • A verbatim copy of arg_file_command.rs from rust-lang/rust
  • adapted copies of some other helpers from bootstrap.

This found because we tried to enable new build-dir layout for nightly
in Cargo, but failed with

error: Unrecognized option: 'skip-this-rustc'

I guess this was the root cause.

See

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems reasonable, thank you. Left one comment.

Comment thread collector/src/bin/rustc-fake.rs Outdated
This PR includes

* A verbatim copy of `arg_file_command.rs` from rust-lang/rust
* adapted copies of some other helpers from bootstrap.

This found because we tried to enable new build-dir layout for nightly
in Cargo, but failed with

```
error: Unrecognized option: 'skip-this-rustc'
```

I _guess_ this was the root cause.

See

* https://triage.rust-lang.org/gha-logs/rust-lang/rust/89681531404
* rust-lang/rust#159857 (comment)
@weihanglo
weihanglo force-pushed the rustc-fake-argfile branch from 95e14fb to 94ee723 Compare July 27, 2026 14:50

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@Kobzol
Kobzol enabled auto-merge July 27, 2026 14:57
@Kobzol
Kobzol added this pull request to the merge queue Jul 27, 2026
Merged via the queue into rust-lang:main with commit 74ecbcd Jul 27, 2026
15 checks passed
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.

3 participants