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 8 pull requests #114295

Closed
wants to merge 16 commits into from

Commits on Jul 15, 2023

  1. Configuration menu
    Copy the full SHA
    cf4fcf8 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. Update .gitmodules to use shallow submodule clones

    This change makes submodule checkouts shallow by default. This
    significantly reduces the time needed to do a recursive checkout when
    `--shallow-submodules` is not specified, such as when `x` is not being
    used.
    tgross35 committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    ffad01a View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    3670bf1 View commit details
    Browse the repository at this point in the history
  2. etc: add RUSTC_BOOTSTRAP to rust-analyzer config

    Fixes the problem reported in
    rust-lang#112391 (comment)
    notriddle committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    a62e30e View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    86433e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0081d64 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    1b18e2a View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. remove repetitive words

    Signed-off-by: cui fliter <[email protected]>
    cuishuang committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    88c7b16 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#112858 - chriswailes:riscv64-android, r=Mar…

    …k-Simulacrum
    
    Update Android system definitions and add riscv-linux-android as tier 3 target
    
    This PR includes the following:
    * Corrected Android system definitions for some types
    * Support for the riscv64-linux-android target
    
    The authoritative types for the system definitions can be found here: https://cs.android.com/android/platform/superproject/ /master:bionic/libc/include/sys/stat.h
    
    Fixes rust-lang/compiler-team#640
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    63ab1fa View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#113717 - cuishuang:master, r=Nilstrieb

    remove repetitive words
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    957eeb7 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#113725 - mati865:config-move-mingw-option-t…

    …o-dist, r=Mark-Simulacrum
    
    Move MinGW linker dist option to proper section
    
    Using this option currently results in the error:
    ```
    failed to parse TOML configuration 'config.toml': unknown field `include-mingw-linker`, expected one of `optimize`, `debug`, `codegen-units`, `codegen-units-std`, `debug-assertions`, `debug-assertions-std`, `overflow-checks`, `overflow-checks-std`, `debug-logging`, `debuginfo-level`, `debuginfo-level-rustc`, `debuginfo-level-std`, `debuginfo-level-tools`, `debuginfo-level-tests`, `split-debuginfo`, `run-dsymutil`, `backtrace`, `incremental`, `parallel-compiler`, `default-linker`, `channel`, `description`, `musl-root`, `rpath`, `verbose-tests`, `optimize-tests`, `codegen-tests`, `omit-git-hash`, `dist-src`, `save-toolstates`, `codegen-backends`, `lld`, `use-lld`, `llvm-tools`, `deny-warnings`, `backtrace-on-ice`, `verify-llvm-ir`, `thin-lto-import-instr-limit`, `remap-debuginfo`, `jemalloc`, `test-compare-mode`, `llvm-libunwind`, `control-flow-guard`, `new-symbol-mangling`, `profile-generate`, `profile-use`, `download-rustc`, `lto`, `validate-mir-opts` for key `rust`
    ```
    That's because the option [belongs to `dist` section](https://github.com/rust-lang/rust/blob/bef6ff618f17398775e9d8cd23a6f47d983869dc/src/bootstrap/config.rs#L861).
    
    cc rust-lang#108581
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    1d6d9aa View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#113740 - tgross35:use-shallow-submodules, r…

    …=Mark-Simulacrum
    
    Update `.gitmodules` to use shallow submodule clones
    
    This change makes submodule checkouts shallow by default. This significantly reduces the time needed to do a recursive checkout when `--shallow-submodules` is not specified, such as when `x` is not being used.
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    8529cda View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#113889 - fortanix:raoul/fix_ice_tests_for_s…

    …gx_platform, r=Mark-Simulacrum
    
    Fix ice tests when librustc-driver is linked dynamically
    
    Running `dump-ice-to-disk`and `short-ice` tests on Linux targeting `x86_64-fortanix-unknown-sgx` platform results in:
    ```
    jenkins@31cf43196355:~/workspace/rust-sgx-ci/Raoul/rust$ cat /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/test/run-make/dump-ice-to-disk/dump-ice-to-disk/*
    /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
    /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
    /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
    /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
    ```
    Setting the LD_LIBRARY_PATH explicitly to `$(HOST_RPATH_DIR)` in these tests Makefiles resolves the issue. The `thumb-none-qemu` and `thumb-none-cortex-m` run-make tests do something similar.
    
    cc: ``@jethrogb`` ``@vn971`` ``@mkaynov``
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    db4263e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#113906 - notriddle:notriddle/cargo-extra-en…

    …v, r=Mark-Simulacrum
    
    etc: add `RUSTC_BOOTSTRAP` to rust-analyzer config
    
    Fixes the problem reported in rust-lang#112391 (comment)
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    e22c9cd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#113920 - bvanjoi:fix-81413, r=petrochenkov

    fix(resolve): report unresolved imports firstly
    
    Fixes rust-lang#81413
    
    An easy fix, r? ``@petrochenkov``
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    647a1eb View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#114093 - Enselic:stdin-unknown-mod, r=Mark-…

    …Simulacrum
    
    Add regression test for `echo 'mod unknown;' | rustc -`
    
    Closes rust-lang#65601
    
    The bug is fixed since long ago, probably by rust-lang#69838 (see rust-lang#65601 (comment) for more details).
    Add a regression test so we can close the issue.
    matthiaskrgr authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    034772d View commit details
    Browse the repository at this point in the history