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

Rollup of 7 pull requests #108863

Merged
merged 16 commits into from
Mar 7, 2023
Merged

Rollup of 7 pull requests #108863

merged 16 commits into from
Mar 7, 2023

Commits on Mar 4, 2023

  1. Configuration menu
    Copy the full SHA
    34063c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aaaffa9 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2023

  1. Greatly improve the error messages when run-make/translation fails

    Before:
    ```
    LD_LIBRARY_PATH="/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/lib:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0-bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0/lib" '/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation -L /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation  test.rs --sysroot /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation/fakeroot -Ztranslate-lang=zh-CN 2>&1 | grep "this is a test message"
    ------------------------------------------
    --- stderr -------------------------------
    make: *** [Makefile:51: sysroot] Error 1
    ------------------------------------------
    
    failures:
        [run-make] tests/run-make/translation
    ```
    
    After:
    
    ```
    LD_LIBRARY_PATH="/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/lib:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0-bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0/lib" '/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation -L /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation  test.rs --sysroot /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation/fakeroot -Ztranslate-lang=zh-CN 2>&1 | grep "this is a test message"
    [[[ begin stdout ]]]
    error: failed to load fluent bundle: failed to add resource: Attempt to override an existing message: "parse_struct_literal_body_without_path".
    
    [[[ end stdout ]]]
    Error: cannot match: this is a test message
    ------------------------------------------
    --- stderr -------------------------------
    make: *** [Makefile:51: sysroot] Error 1
    ------------------------------------------
    
    failures:
        [run-make] tests/run-make/translation
    ```
    jyn514 committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    3399809 View commit details
    Browse the repository at this point in the history
  2. Remove the option to disable llvm-version-check

    We don't support old versions of LLVM; there's no reason to have an easy
    way to force bootstrap to use them anyway. If someone really needs to
    use an unsupported version, they can modify bootstrap to change the
    version range.
    jyn514 committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    8becfed View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Configuration menu
    Copy the full SHA
    76714c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a776c17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    511d262 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    545fe60 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Custom MIR: Support as casts

    cbeuw committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    7281cd0 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#108619 - jyn514:llvm-version-check, r=cuviper

    Remove the option to disable `llvm-version-check`
    
    We don't support old versions of LLVM; there's no reason to have an easy way to force bootstrap to use them anyway. If someone really needs to use an unsupported version, they can modify bootstrap to change the version range.
    
    r? ``@cuviper`` on whether we want to do this or not, since you maintain rust on Fedora and touched this config last.
    JohnTitor authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    a7b9488 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#108728 - tshepang:fix-and-improve, r=michae…

    …lwoerister
    
    infer: fix and improve comments
    JohnTitor authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    2a196db View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#108731 - Ezrashaw:pin-suggestion-on-impl-fu…

    …ture, r=petrochenkov
    
    feat: impl better help for `.poll()` not found on `impl Future`
    
    Partially address rust-lang#108572
    
    I'd like to also address suggestions for generalized `Self` parameters as well. That'll be a separate PR.
    JohnTitor authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    8f775dc View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#108774 - jyn514:translation-errors, r=david…

    …twco
    
    Greatly improve the error messages when `run-make/translation` fails
    
    Before:
    ```
    LD_LIBRARY_PATH="/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/lib:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0-bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0/lib" '/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation -L /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation  test.rs --sysroot /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation/fakeroot -Ztranslate-lang=zh-CN 2>&1 | grep "this is a test message"
    ------------------------------------------
    --- stderr -------------------------------
    make: *** [Makefile:51: sysroot] Error 1
    ------------------------------------------
    
    failures:
        [run-make] tests/run-make/translation
    ```
    
    After:
    
    ```
    LD_LIBRARY_PATH="/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/lib:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0-bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage0/lib" '/home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation -L /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation  test.rs --sysroot /home/gh-jyn514/rust/build/aarch64-unknown-linux-gnu/test/run-make/translation/translation/fakeroot -Ztranslate-lang=zh-CN 2>&1 | grep "this is a test message"
    [[[ begin stdout ]]]
    error: failed to load fluent bundle: failed to add resource: Attempt to override an existing message: "parse_struct_literal_body_without_path".
    
    [[[ end stdout ]]]
    Error: cannot match: this is a test message
    ------------------------------------------
    --- stderr -------------------------------
    make: *** [Makefile:51: sysroot] Error 1
    ------------------------------------------
    
    failures:
        [run-make] tests/run-make/translation
    ```
    JohnTitor authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    4dc48db View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#108805 - GuillaumeGomez:update-askama, r=no…

    …triddle
    
    Update askama to 0.12 and improve whitespace control
    
    `askama` 0.12 was just released, and it adds the possibility to have "whitespace suppression" enabled by default in the configuration so I switched to it.
    
    r? ``@notriddle``
    JohnTitor authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    79fd51d View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#108823 - wesleywiser:add_cf-protection_trac…

    …king_issue, r=Nilstrieb
    
    Add tracking issue for cf-protection to unstable book
    JohnTitor authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    b866e1e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#108855 - cbeuw:mir-cast, r=tmiasko

    Custom MIR: Support `as` casts
    
    Small changes to support this low hanging fruit
    
    r? `@oli-obk` or `@tmiasko` or `@JakobDegen`
    JohnTitor authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    fddd861 View commit details
    Browse the repository at this point in the history