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

[beta] backports #94933

Merged
merged 10 commits into from
Mar 14, 2022
Merged

[beta] backports #94933

merged 10 commits into from
Mar 14, 2022

Commits on Mar 14, 2022

  1. Update LLVM submodule

    nikic authored and Mark-Simulacrum committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    897ce09 View commit details
    Browse the repository at this point in the history
  2. Use new pass manager on s390x with LLVM 14

    The problematic compile-time issue should be resolved with this
    version.
    nikic authored and Mark-Simulacrum committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    59387f5 View commit details
    Browse the repository at this point in the history
  3. Enable issue-23036.rs on wasm32

    nikic authored and Mark-Simulacrum committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    32fb22d View commit details
    Browse the repository at this point in the history
  4. Statically compile libstdc++ everywhere if asked

    PR rust-lang#93918 made it so that `-static-libstdc++` was only set in one place,
    and was only set during linking, but accidentally also made it so that
    it is no longer passed when building LLD or sanitizers, only when
    building LLVM itself. This moves the logic for setting
    `-static-libstdc++` in the linker flags back to `configure_cmake` so
    that it takes effect for all CMake invocations in `native.rs`.
    
    As a side-effect, this also causes libstdc++ to be statically compiled
    into sanitizers and LLD if `llvm-tools-enabled` is set but
    `llvm-static-stdcpp` is not, even though previously it was only linked
    statically if `llvm-static-stdcpp` was set explicitly. But that seems
    more like the expected behavior anyway.
    Jon Gjengset authored and Mark-Simulacrum committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    099acb0 View commit details
    Browse the repository at this point in the history
  5. Downgrade #[test] on macro call to warning

    Follow up to rust-lang#92959. Address rust-lang#94508.
    estebank authored and Mark-Simulacrum committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    27b6c44 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7237f15 View commit details
    Browse the repository at this point in the history
  7. bootstrap: correct reading of flags for llvm

    First, this reverts the `CFLAGS`/`CXXFLAGS` of rust-lang#93918. Those flags are
    already read by `cc` and populated into `Build` earlier on in the
    process. We shouldn't be overriding that based on `CFLAGS`, since `cc`
    also respects overrides like `CFLAGS_{TARGET}` and `HOST_CFLAGS`, which
    we want to take into account.
    
    Second, this adds the same capability to specify target-specific
    versions of `LDFLAGS` as we have through `cc` for the `C*` flags:
    https://github.com/alexcrichton/cc-rs#external-configuration-via-environment-variables
    
    Note that this also necessitated an update to compiletest to treat
    CXXFLAGS separately from CFLAGS.
    Jon Gjengset authored and Mark-Simulacrum committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    9823bc6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0fe9be4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9d7e021 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    12cae30 View commit details
    Browse the repository at this point in the history