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

Move some more bootstrap logic from python to rust #92260

Merged
merged 4 commits into from
Mar 8, 2022

Commits on Mar 7, 2022

  1. Move some more bootstrap logic from python to rust

    Same rationale as rust-lang#76544;
    it would be nice to make python entirely optional at some point.
    
    This also removes $ROOT as an option for the build directory; I haven't been using it, and like Alex
    said in rust-lang#76544 (comment) it seems like a
    misfeature.
    
    This allows running `cargo run` from src/bootstrap, although that still gives
    lots of compile errors if you don't use the beta toolchain.
    jyn514 authored and Mark-Simulacrum committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    240f288 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62b522e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    984527f View commit details
    Browse the repository at this point in the history
  4. copy over std::path::absolute instead of adding canonicalize hacks

    this also fixes a bug where bootstrap would try to use the fake `rustc` binary built by bootstrap -
    cargo puts it in a different directory when using `cargo run` instead of x.py
    jyn514 authored and Mark-Simulacrum committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    477cae3 View commit details
    Browse the repository at this point in the history