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 #129474

Closed
wants to merge 27 commits into from
Closed

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    0b87af9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    608901b View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

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

Commits on Aug 17, 2024

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

Commits on Aug 18, 2024

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

Commits on Aug 22, 2024

  1. library: Move unstable API of new_uninit to new features

    - `new_zeroed` variants move to `new_zeroed_alloc`
    - the `write` fn moves to `box_uninit_write`
    
    The remainder will be stabilized in upcoming patches, as
    it was decided to only stabilize `uninit*` and `assume_init`.
    workingjubilee committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    275a526 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f62b9e0 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Check that library/profiler_builtins actually found some source files

    The current `build.rs` will automatically skip source files that don't exist.
    An unfortunate side-effect is that if _no_ files could be found (e.g. because
    the directory was wrong), the build fails with a mysterious linker error.
    
    We can reduce the awkwardness of this by explicitly checking that at least one
    source file was found.
    Zalathar committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    585804f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4acc531 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cee7f18 View commit details
    Browse the repository at this point in the history
  4. mark rust-lld-compress-debug-sections test as needing zstd

    also make it fail if there's a compression issue
    lqd committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    16b444d View commit details
    Browse the repository at this point in the history
  5. make compressed-debuginfo test about zlib only

    zlib is seemingly always enabled, so we can test it unconditionally
    lqd committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    8b5118c View commit details
    Browse the repository at this point in the history
  6. prepare test for expanding scope

    lqd committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    de40866 View commit details
    Browse the repository at this point in the history
  7. expand zstd debuginfo compression test

    it now checks zlib and zstd, via rustc and rust-lld
    lqd committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    9d24aa8 View commit details
    Browse the repository at this point in the history
  8. move and rename zstd script

    move it where it's used, and name it like the other scripts
    lqd committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    182eded View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5950529 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9d29bf9 View commit details
    Browse the repository at this point in the history
  11. allow llvm.libzstd with download-ci-llvm = true

    but warn about it
    lqd committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    0452bf4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    318dfb4 View commit details
    Browse the repository at this point in the history
  13. CI: rfl: move to temporary commit

    Link: rust-lang#129416
    Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
    ojeda authored and workingjubilee committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    4e0ca2b View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#126985 - Mrmaxmeier:dwarf-embed-source, r=d…

    …avidtwco
    
    Implement `-Z embed-source` (DWARFv5 source code embedding extension)
    
    Implement rust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
    jieyouxu committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    c680426 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#128507 - Oneirical:testart-from-scratch, r=…

    …jieyouxu
    
    Migrate `libtest-thread-limit` `run-make` test to rmake
    
    Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).
    
    Please try, but **only if normal CI is green**:
    
    // try-job: armhf-gnu // <- failed on this
    try-job: aarch64-gnu
    jieyouxu committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    0531ad1 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#128935 - lqd:needs-zstd, r=Kobzol

    More work on `zstd` compression
    
    r? `@Kobzol` as we've discussed this.
    
    This is a draft to show the current approach of supporting zstd in compiletest, and making the tests using it unconditional.
    
    Knowing whether llvm/lld was built with `LLVM_ENABLE_ZSTD` is quite hard, so there are two strategies. There are details in the code, and we can discuss this approach. Until we know the config used to build CI artifacts, it seems our options are somewhat limited in any case.
    
    zlib compression seems always enabled, so we only check this in its dedicated test, allowing the test to ignore errors due to zstd not being supported.
    
    The zstd test is made unconditional in what it tests, by relying on `needs-llvm-zstd` to be ignored when `llvm.libzstd` isn't enabled in `config.toml`.
    
    try-job: x86_64-gnu
    try-job: x86_64-msvc
    jieyouxu committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    f8ff9fb View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#129190 - rezwanahmedsami:master, r=tgross35

    Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs
    
    Fixes rust-lang#129163
    
    try-job: x86_64-msvc
    try-job: x86_64-mingw
    try-job: i686-msvc
    try-job: i686-mingw
    jieyouxu committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    b07a988 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#129295 - Zalathar:profiler-builtins, r=Kobzol

    Build `library/profiler_builtins` from `ci-llvm` if appropriate
    
    Running all of `tests/coverage` requires the LLVM profiler runtime, which requires setting `build.profiler = true`.
    
    Historically, doing that has required checking out the entire `src/llvm-project` submodule. For compiler contributors who otherwise don't need that submodule (thanks to `download-ci-vm`), that's quite inconvenient.
    
    However, thanks to rust-lang#129116, the downloaded CI LLVM tarball now contains a copy of LLVM's `compiler-rt` directory, which includes all the files needed to build the profiler runtime. So with a little bit of extra logic in bootstrap, we can have `library/profiler_builtins` look for the `compiler-rt` files in `ci-llvm` instead of the `src/llvm-project` submodule.
    jieyouxu committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    73d343a View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#129416 - workingjubilee:partial-move-from-s…

    …tabilization, r=dtolnay
    
    library: Move unstable API of new_uninit to new features
    
    - `new_zeroed` variants move to `new_zeroed_alloc`
    - the `write` fn moves to `box_uninit_write`
    
    The remainder will be stabilized in upcoming patches, as it was decided to only stabilize `uninit*` and `assume_init`.
    jieyouxu committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    506e977 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#129418 - petrochenkov:libsearch2, r=jieyouxu

    rustc: Simplify getting sysroot library directory
    
    It was very non-obvious that `sess.target_tlib_path`, `make_target_lib_path(...)`, and `sess.target_filesearch(...).search_paths()` result in the same sysroot library directory paths.
    They are however, indeed the same, because `sess.target_tlib_path` is initialized to `make_target_lib_path(...)` on `Session` creation, and they are used interchangeably.
    
    There are still some redundant calls to `make_target_lib_path` and other inconsistent ways to obtain sysroot directories, but fixing that requires some behavior changes, while this PR is a pure refactoring.
    Some places in the compiler even disagree on the number of sysroots - 1 (explicit `--sysroot` *or* default sysroot), 2 (explicit `--sysroot` *and* default sysroot), or an unclear number of `sysroot_candidates` every of which is considered.
    The logic currently using `sess.target_tlib_path` or equivalents assumes one sysroot.
    jieyouxu committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2e55abe View commit details
    Browse the repository at this point in the history