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 5 pull requests #117339

Closed
wants to merge 12 commits into from

Commits on Oct 22, 2023

  1. re-enable stage0 compiler version check

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    a63624a View commit details
    Browse the repository at this point in the history
  2. add bootstrap flag --skip-stage0-validation

    This change introduces the --skip-stage0-validation flag,
    which permits the use of any desired version of the stage0
    compiler without verifying its version.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    9586bb8 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

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

Commits on Oct 28, 2023

  1. Configuration menu
    Copy the full SHA
    b329c69 View commit details
    Browse the repository at this point in the history
  2. pass CODEGEN_BACKENDS to docker

    lqd committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    794bf8a View commit details
    Browse the repository at this point in the history
  3. Ensure the rustc-codegen-cranelift-preview component is never empty

    Either generate it with the actual codegen backend dylib or omit it
    entirely when the cranelift backend is disabled for this build.
    bjorn3 committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    aefd7ac View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Don't use LFS64 symbols on musl

    Simplify #[cfg] blocks
    
    fmt
    
    don't try to use the more appropriate direntry on musl
    git-bruh authored and git-bruh committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    7a504cc View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#115968 - git-bruh:master, r=workingjubilee

    Don't use LFS64 symbols on musl
    
    Supersedes rust-lang#106246
    
    ~~Note to packagers: If your distro's musl package has already been updated, then you won't be able to build a newer version of rust until a new rust release is made with these changes merged (which can be used to bootstrap). I'm using a super hacky method to bypass this by creating a stub library with LFS64 symbols and building a patched rust, so the symbols satisfy the build requirements while the final compiler build has no references to LFS64 symbols, example: https://codeberg.org/kiss-community/repo/pulls/160/files~~ Doesn't seem to be necessary with new rustup nightly builds, likely due to updates to vendored crates
    
    cc `@alyssais`
    workingjubilee committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    2d0e4db View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#117043 - onur-ozkan:skip-stage0-validation,…

    … r=Mark-Simulacrum
    
    add bootstrap flag `--skip-stage0-validation`
    
    This change introduces the `--skip-stage0-validation` flag, which permits the use of any desired version of the stage0 compiler without verifying its version.
    
    Additionally, stage0 compiler validation check is reverted(rust-lang#115103) to its default enabled state.
    
    Helps to rust-lang#115065
    
    r? Mark-Simulacrum
    workingjubilee committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    d562fd5 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#117082 - fortanix:raoul/fix_closure_inherit…

    …_target_feature_sgx, r=Mark-Simulacrum
    
    Fix closure-inherit-target-feature test for SGX platform
    
    PR rust-lang#116078 adds the `closure-inherit-target-feature.rs` test that checks the generated assembly code for closures. These checks explicitly check the presence of `ret` instructions. This is incompatible with the SGX target as it explicitly rewrites all `ret` instructions to mitigate LVI vulnerabilities of certain processors. This PR simply ignores these tests for the SGX platform.
    
    cc: `@jethrogb`
    workingjubilee committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    0267cbe View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#117312 - RalfJung:memcpy-assumptions, r=Mar…

    …k-Simulacrum
    
    memcpy assumptions: link to source showing that GCC makes the same assumption
    
    I finally stumbled upon a source showing that GCC also generates overlapping `memcpy`. So if we're linking major C compilers making such assumptions here, let's have both clang and GCC.
    workingjubilee committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    bd7f422 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#117328 - lqd:cranelift-rocket, r=Mark-Simul…

    …acrum
    
    pass `CODEGEN_BACKENDS` to docker
    
    The backends to build are now defined in the `CODEGEN_BACKENDS` env var. It's correctly set in CI, but wasn't passed to docker, hence cg_clif wasn't actually built in rust-lang#81746.
    
    r? `@Kobzol:` I locally tried `CODEGEN_BACKENDS="cranelift" DEPLOY=1 src/ci/docker/run.sh dist-x86_64-linux` and this change was enough for `ci/run.sh` to read the env var.
    
    So I'll try as-is and we'll see.
    workingjubilee committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    6995b5e View commit details
    Browse the repository at this point in the history