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

bootstrap rustc shim: FATAL: RUSTC_STAGE was not set #125122

Closed
MinxuanZ opened this issue May 14, 2024 · 1 comment
Closed

bootstrap rustc shim: FATAL: RUSTC_STAGE was not set #125122

MinxuanZ opened this issue May 14, 2024 · 1 comment
Labels
C-discussion Category: Discussion or questions that doesn't represent real issues. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@MinxuanZ
Copy link

hi ,I want to debug rustc in bootstrap.
How to set enviroment ?
RUSTC_STAGE RUSTC_SNAPSHOT

.\bootstrap\debug\rustc.exe -V

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label May 14, 2024
@jieyouxu jieyouxu added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label May 14, 2024
@onur-ozkan onur-ozkan added C-discussion Category: Discussion or questions that doesn't represent real issues. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels May 14, 2024
@onur-ozkan
Copy link
Member

How to set enviroment ?

The way you set up any other environment. But bootstrap binaries aren't meant to be called directly like that. You should use x.py instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-discussion Category: Discussion or questions that doesn't represent real issues. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

4 participants