-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed as not planned
Closed as not planned
Copy link
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
See #40542
Explicitly adding --out-dir=$(TMPDIR) (supposedly redundant) after --emit=metadata appeared to fix the problem, suggesting that --emit=metadata overwrites --out-dir (which is included in $(RUSTC)) with the current directory (?).
This may not depend on the exact value of --emit; Cargo always appears to write --out-dir after --emit, so that might explain why this hasn't really come up before.
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.