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

./x doc core doesn't work #137115

Closed
ChrisDenton opened this issue Feb 16, 2025 · 0 comments · Fixed by #137119
Closed

./x doc core doesn't work #137115

ChrisDenton opened this issue Feb 16, 2025 · 0 comments · Fixed by #137119
Labels
A-contributor-roadblock Area: Makes things more difficult for new or seasoned contributors to Rust C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@ChrisDenton
Copy link
Member

I tried this:

./x doc core

I expected it to work the same as ./x check core but instead I got the following panic:

thread 'main' panicked at src\bootstrap\src\core\build_steps\compile.rs:416:13:
missing crate for path core
Backtrace

stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/38213856a8a3a6d49a234e0d95a722a4f28a2b18/library\std\src\panicking.rs:692
   1: core::panicking::panic_fmt
             at /rustc/38213856a8a3a6d49a234e0d95a722a4f28a2b18/library\core\src\panicking.rs:75
   2: bootstrap::core::builder::RunConfig::cargo_crates_in_set
             at .\src\bootstrap\src\core\builder\mod.rs:132
   3: bootstrap::core::build_steps::compile::std_crates_for_run_make
             at .\src\bootstrap\src\core\build_steps\compile.rs:416
   4: bootstrap::core::build_steps::doc::impl$7::make_run
             at .\src\bootstrap\src\core\build_steps\doc.rs:582
   5: bootstrap::core::builder::StepDescription::maybe_run
             at .\src\bootstrap\src\core\builder\mod.rs:418
   6: bootstrap::core::builder::StepDescription::run
             at .\src\bootstrap\src\core\builder\mod.rs:548
   7: bootstrap::core::builder::Builder::run_step_descriptions
             at .\src\bootstrap\src\core\builder\mod.rs:1204
   8: bootstrap::core::builder::Builder::execute_cli
             at .\src\bootstrap\src\core\builder\mod.rs:1184
   9: bootstrap::Build::build
             at .\src\bootstrap\src\lib.rs:600
  10: bootstrap::main
             at .\src\bootstrap\src\bin\main.rs:97
  11: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
             at /rustc/38213856a8a3a6d49a234e0d95a722a4f28a2b18\library\core\src\ops\function.rs:250
  12: core::hint::black_box
             at /rustc/38213856a8a3a6d49a234e0d95a722a4f28a2b18\library\core\src\hint.rs:475

@ChrisDenton ChrisDenton added C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Feb 16, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Feb 16, 2025
@onur-ozkan onur-ozkan added A-contributor-roadblock Area: Makes things more difficult for new or seasoned contributors to Rust and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Feb 16, 2025
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Feb 16, 2025
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Feb 16, 2025
@bors bors closed this as completed in e802a8c Feb 17, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 17, 2025
Rollup merge of rust-lang#137119 - onur-ozkan:fix-broken-core, r=jieyouxu

fix broken `x {doc, build} core`

Fixes rust-lang#137115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-contributor-roadblock Area: Makes things more difficult for new or seasoned contributors to Rust C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants