summary refs log tree commit diff
path: root/src/libcompiler_builtins
AgeCommit message (Collapse)AuthorLines
2016-12-30std: Don't build docs for misc facade cratesAlex Crichton-0/+1
Retain the same behavior as stable. Closes #38319
2016-11-28Auto merge of #38046 - rkruppe:fix-32bit-rustbuild, r=alexcrichtonbors-0/+1
Fix rustbuild on 32 bit Linux This is cherry-picked from #37817 which seems to be stalled and currently needs to be rebased anyway. r? @alexcrichton (who authored this change)
2016-11-28Define VISIBILITY_HIDDEN when compiling compiler-rtRobin Kruppe-0/+1
This is cherry-picked from #37817 which seems to be stalled and currently needs to be rebased anyway. r? @alexcrichton (who authored this change)
2016-11-26rustbuild: Add bench = false to std shim cratesUlrik Sverdrup-0/+1
2016-11-12rustc: Flag all builtins functions as hiddenAlex Crichton-0/+1
When compiling compiler-rt you typically compile with `-fvisibility=hidden` which to ensure that all symbols are hidden in shared objects and don't show up in symbol tables. This is important for these intrinsics being linked in every crate to ensure that we're not unnecessarily bloating the public ABI of Rust crates. This should help allow the compiler-builtins project with Rust-defined builtins start landing in-tree as well.
2016-09-30Don't build any native compiler-builtin components for emscriptenBrian Anderson-0/+6
2016-09-28Remove stage0 hacksBrian Anderson-2/+2
2016-09-25Report which required build-time environment variable is not setJake Goulding-1/+1
2016-09-13Link test to compiler builtins and make unstableAlex Crichton-1/+4
This commit fixes a test which now needs to explicitly link to the `compiler_builtins` crate as well as makes the `compiler_builtins` crate unstable.
2016-09-13rustc: Don't pass --whole-archive for compiler-builtinsAlex Crichton-4/+6
This flag is intended for rlibs included once, not rlibs that are repeatedly included.
2016-09-12crate-ify compiler-rt into compiler-builtinsJorge Aparicio-0/+433
libcompiler-rt.a is dead, long live libcompiler-builtins.rlib This commit moves the logic that used to build libcompiler-rt.a into a compiler-builtins crate on top of the core crate and below the std crate. This new crate still compiles the compiler-rt instrinsics using gcc-rs but produces an .rlib instead of a static library. Also, with this commit rustc no longer passes -lcompiler-rt to the linker. This effectively makes the "no-compiler-rt" field of target specifications a no-op. Users of `no_std` will have to explicitly add the compiler-builtins crate to their crate dependency graph *if* they need the compiler-rt intrinsics. Users of the `std` have to do nothing extra as the std crate depends on compiler-builtins. Finally, this a step towards lazy compilation of std with Cargo as the compiler-rt intrinsics can now be built by Cargo instead of having to be supplied by the user by some other method. closes #34400