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

Switch to rust-lang-nursery/compiler-builtins #42899

Merged
merged 1 commit into from
Jul 6, 2017

Commits on Jul 5, 2017

  1. Switch to rust-lang-nursery/compiler-builtins

    This commit migrates the in-tree `libcompiler_builtins` to the upstream version
    at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version
    has a number of intrinsics written in Rust and serves as an in-progress rewrite
    of compiler-rt into Rust. Additionally it also contains all the existing
    intrinsics defined in `libcompiler_builtins` for 128-bit integers.
    
    It's been the intention since the beginning to make this transition but
    previously it just lacked the manpower to get done. As this PR likely shows it
    wasn't a trivial integration! Some highlight changes are:
    
    * The PR rust-lang/compiler-builtins#166 contains a number of fixes
      across platforms and also some refactorings to make the intrinsics easier to
      read. The additional testing added there also fixed a number of integration
      issues when pulling the repository into this tree.
    
    * LTO with the compiler-builtins crate was fixed to link in the entire crate
      after the LTO process as these intrinsics are excluded from LTO.
    
    * Treatment of hidden symbols was updated as previously the
      `#![compiler_builtins]` crate would mark all symbol *imports* as hidden
      whereas it was only intended to mark *exports* as hidden.
    alexcrichton committed Jul 5, 2017
    Configuration menu
    Copy the full SHA
    7e6c9f3 View commit details
    Browse the repository at this point in the history