Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--emit=metadata appears to override --out-dir if the latter is supplied first #40623

Closed
abonander opened this issue Mar 18, 2017 · 2 comments
Closed
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@abonander
Copy link
Contributor

abonander commented Mar 18, 2017

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.

@Mark-Simulacrum Mark-Simulacrum added the A-frontend Area: Compiler frontend (errors, parsing and HIR) label Jun 13, 2017
@Mark-Simulacrum Mark-Simulacrum added the C-bug Category: This is a bug. label Jul 27, 2017
@steveklabnik
Copy link
Member

Triage: I'm pretty sure that I know how to do this, but any chance you could add exact steps to reproduce here, @abonander ?

@Enselic Enselic added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Dec 9, 2023
@Enselic
Copy link
Member

Enselic commented Dec 9, 2023

Triage: I'll go ahead and close this as I think it is reasonable to require bug reports like these to have step-by-step instructions on how to reproduce. Of course feel free to re-open after providing reproduction steps!

@Enselic Enselic closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants