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 10 pull requests #57094

Merged
merged 31 commits into from
Dec 24, 2018
Merged

Rollup of 10 pull requests #57094

merged 31 commits into from
Dec 24, 2018

Commits on Oct 29, 2018

  1. Configuration menu
    Copy the full SHA
    b089e79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15334e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2018

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

Commits on Nov 26, 2018

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

Commits on Dec 5, 2018

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

Commits on Dec 18, 2018

  1. bootstrap: Link LLVM as a dylib with ThinLTO

    When building a distributed compiler on Linux where we use ThinLTO to
    create the LLVM shared object this commit switches the compiler to
    dynamically linking that LLVM artifact instead of statically linking to
    LLVM. The primary goal here is to reduce CI compile times, avoiding two+
    ThinLTO builds of all of LLVM. By linking dynamically to LLVM we'll
    reuse the one ThinLTO step done by LLVM's build itself.
    
    Lots of discussion about this change can be found [here] and down. A
    perf run will show whether this is worth it or not!
    
    [here]: rust-lang#53245 (comment)
    alexcrichton committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    bd18a92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c383d38 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2018

  1. Configuration menu
    Copy the full SHA
    1c8d8af View commit details
    Browse the repository at this point in the history
  2. Remove now stray comment

    alexcrichton committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    0feb680 View commit details
    Browse the repository at this point in the history
  3. Show platform-specific modules in std::os when building those platf…

    …orms
    Jethro Beekman committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    f72f28f View commit details
    Browse the repository at this point in the history
  4. SGX target: fix docs build

    Jethro Beekman committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    4358be4 View commit details
    Browse the repository at this point in the history
  5. Revert "Remove some dead code from sgx"

    This reverts commit 1346619.
    Jethro Beekman committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    38f5c97 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d8ddb47 View commit details
    Browse the repository at this point in the history
  7. rustc: Move jemalloc from rustc_driver to rustc

    This commit moves jemalloc to just the rustc binary rather than the
    rustc_driver shared library, enusring that it's only used for binaries
    that opt-in to it like rustc rather than other binaries using
    librustc_driver like rustdoc/rls/etc. This will hopefully address rust-lang#56980
    alexcrichton committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    ba0ed5b View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2018

  1. Add std::os::fortanix_sgx module

    Jethro Beekman committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    dcb5db8 View commit details
    Browse the repository at this point in the history
  2. Run compiletest tests on CI

    I was assuming that rust-lang#56792 would
    have resulted in compiletest tests being executed in CI. However, I
    couldn't find any mentions of the unit test names in any CI logs.
    
    This adds the compiletest test execution to the checktools.sh script.
    phansch committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    2d2435b View commit details
    Browse the repository at this point in the history
  3. Move compiletest test run to mingw-check builder

    This way, checktools.sh continues to be used only for tools that are
    published later on.
    phansch committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    0493c99 View commit details
    Browse the repository at this point in the history
  4. Enable emission of alignment attrs for pointer params

    Instead disable creation of assumptions during inlining using an
    LLVM opt flag.
    
    The -Z arg-align-attributes option which previously controlled this
    behavior is removed.
    nikic committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    db24d8e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2018

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

Commits on Dec 23, 2018

  1. Fix recursion limits

    Zoxc committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    0c4d551 View commit details
    Browse the repository at this point in the history
  2. librustc_codegen_llvm: Don't eliminate empty structs in C ABI on linu…

    …x-sparc64
    
    This is in accordance with the SPARC Compliance Definition 2.4.1,
    Page 3P-12. It says that structs of up to 8 bytes (which applies
    to empty structs as well) are to be passed in one register.
    karcherm authored and glaubitz committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    65dabd6 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2018

  1. Rollup merge of rust-lang#55470 - daniellimws:box-from-docs, r=Centril

    box: Add documentation for `From` impls
    
    This is a part of rust-lang#51430. A brief description of the behaviour and examples are added to the documentation.
    
    I am not sure what sort of examples to put for the `From` for `Pin` as my [code](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=97c908f44e41c9faeffec5b61d72a03e) doesn't even manage to compile using the nightly build.
    
    Somehow I feel that I missed out something so do let me know if more information is needed in the documentation or any of the examples require change.
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    1eb8786 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#56242 - GuillaumeGomez:iterator-missing-lin…

    …k, r=Centril
    
    Add missing link in docs
    
    r? @steveklabnik
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    833e0b3 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#56944 - alexcrichton:less-thin2, r=michaelw…

    …oerister
    
    bootstrap: Link LLVM as a dylib with ThinLTO
    
    When building a distributed compiler on Linux where we use ThinLTO to
    create the LLVM shared object this commit switches the compiler to
    dynamically linking that LLVM artifact instead of statically linking to
    LLVM. The primary goal here is to reduce CI compile times, avoiding two+
    ThinLTO builds of all of LLVM. By linking dynamically to LLVM we'll
    reuse the one ThinLTO step done by LLVM's build itself.
    
    Lots of discussion about this change can be found [here] and down. A
    perf run will show whether this is worth it or not!
    
    [here]: rust-lang#53245 (comment)
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    f1051b5 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#56978 - jethrogb:jb/sgx-os-mod, r=joshtriplett

    Add `std::os::fortanix_sgx` module
    
    This PR adds the `std::os::sgx` module to expose platform-specific APIs behind the `sgx_platform` feature gate.
    
    Depends on rust-lang#56972 to be able to meaningfully build `std::os` documentation for non-standard targets.
    
    Tracking issue: rust-lang#56975
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    05f3b3c View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#56985 - oli-obk:const_check_bounds, r=RalfJung

    Allow testing pointers for inboundedness while forbidding dangling pointers
    
    r? @RalfJung
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    51f90a1 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#56986 - alexcrichton:move-jemalloc, r=Mark-…

    …Simulacrum
    
    rustc: Move jemalloc from rustc_driver to rustc
    
    This commit moves jemalloc to just the rustc binary rather than the
    rustc_driver shared library, enusring that it's only used for binaries
    that opt-in to it like rustc rather than other binaries using
    librustc_driver like rustdoc/rls/etc. This will hopefully address rust-lang#56980
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    a0538c8 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#57010 - phansch:run_compiletest_tests_on_ci…

    …, r=kennytm
    
    Actually run compiletest tests on CI
    
    I was assuming that rust-lang#56792 would
    have resulted in compiletest tests being executed on CI. However, I
    couldn't find any mentions of the unit test names in any CI logs.
    
    This adds the compiletest test execution to the checktools.sh script.
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    7011035 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#57021 - nikic:arg-pointer-align, r=nagisa

    Enable emission of alignment attrs for pointer params
    
    Instead disable creation of assumptions during inlining using an LLVM opt flag. For non-inlined functions, this gives us alignment information, while not inserting any assumes that kill other optimizations.
    
    The `-Z arg-align-attributes` option which previously controlled this behavior is removed.
    
    Fixes rust-lang#54982.
    
    r? @nagisa
    
    cc @eddyb who added the current behavior, and @scottmcm, who added the `-Z arg-align-attributes` flag.
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    c44bb02 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8b0b70d View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#57085 - glaubitz:sparc64-abi-fix, r=nagisa

    librustc_codegen_llvm: Don't eliminate empty structs in C ABI on linux-sparc64
    
    This is in accordance with the SPARC Compliance Definition 2.4.1,
    Page 3P-12. It says that structs of up to 8 bytes (which applies
    to empty structs as well) are to be passed in one register.
    Centril authored Dec 24, 2018
    Configuration menu
    Copy the full SHA
    6ce748a View commit details
    Browse the repository at this point in the history