rust/src
Alex Crichton ee6011fc71 mk: Stop using cmake for compiler-rt
The compiler-rt build system has been a never ending cause of pain for Rust
unfortunately:

* The build system is very difficult to invoke and configure to only build
  compiler-rt, especially across platforms.
* The standard build system doesn't actually do what we want, not working for
  some of our platforms and requiring a significant number of patches on our end
  which are difficult to apply when updating compiler-rt.
* Compiling compiler-rt requires LLVM to be compiled, which... is a big
  dependency! This also means that over time compiler-rt is not guaranteed to
  build against older versions of LLVM (or newer versions), and we often want to
  work with multiple versions of LLVM simultaneously.

The makefiles and rustbuild already know how to compile C code, the code here is
far from the *only* C code we're compiling. This patch jettisons all logic to
work with compiler-rt's build system and just goes straight to the source. We
just list all files manually (copied from compiler-rt's
lib/builtins/CMakeLists.txt) and compile them into an archive.

It's likely that this means we'll fail to pick up new files when we upgrade
compiler-rt, but that seems like a much less significant cost to pay than what
we're currently paying.

cc #34400, first steps towards that
2016-07-20 13:22:20 -07:00
..
bootstrap mk: Stop using cmake for compiler-rt 2016-07-20 13:22:20 -07:00
build_helper Fix issue where rustbuild expected msvc to have ar 2016-06-16 08:38:06 -04:00
compiler-rt@ac3d1cda61 update compiler-rt with iOS linking warnings workaround 2016-07-04 19:11:03 +02:00
doc Rollup merge of #34849 - tshepang:patch-2, r=apasel422 2016-07-16 16:55:59 +02:00
driver
etc Auto merge of #34779 - infinity0:master, r=alexcrichton 2016-07-16 01:19:16 -07:00
grammar Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
jemalloc@e058ca6616 Update jemalloc to include a fix for startup issues on OSX 10.12 2016-07-08 14:15:04 +09:00
liballoc Rollup merge of #34733 - izgzhen:alloc-arc-doc-improve, r=steveklabnik 2016-07-15 10:56:42 +02:00
liballoc_jemalloc Fix issue where rustbuild expected msvc to have ar 2016-06-16 08:38:06 -04:00
liballoc_system std: Use memalign, not posix_memalign, on Android 2016-05-24 15:21:01 -07:00
libarena
libbacktrace std: Update libbacktrace for a soundness fix 2016-05-19 11:56:43 -07:00
libcollections Remove unnecessary indexing and deref in Vec::as_mut_slice. 2016-07-16 22:09:55 -04:00
libcollectionstest std: Stabilize APIs for the 1.11.0 release 2016-07-03 10:49:01 -07:00
libcore Auto merge of #34879 - petrochenkov:fnptr, r=alexcrichton 2016-07-18 18:09:25 -07:00
libcoretest Implement traits for variadic function pointers 2016-07-17 10:21:07 +03:00
libflate run rustfmt on libflate folder 2016-06-07 21:29:35 +05:30
libfmt_macros format: remove all implicit ref handling outside of libfmt_macros 2016-07-14 02:54:47 +08:00
libgetopts
libgraphviz
liblibc@b0d62534d4 libc: fast-forward for solaris RTLD_DEFAULT 2016-07-11 21:43:31 -07:00
liblog rustfmt on liblog 2016-05-27 08:06:17 +05:30
libpanic_abort mk: Prepare for a new stage0 compiler 2016-05-31 16:11:49 -07:00
libpanic_unwind Use ptr::{null, null_mut} instead of 0 as *{const, mut} 2016-07-12 10:40:40 +02:00
librand prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
librbml
librustc Auto merge of #34860 - jseyfried:encapsulate_hygiene, r=nrc 2016-07-17 22:12:59 -07:00
librustc_back Auto merge of #33699 - alexcrichton:stabilize-1.10, r=aturon 2016-05-25 20:36:09 -07:00
librustc_bitflags run rustfmt on librustc_bitflags folder 2016-06-05 13:01:11 +05:30
librustc_borrowck prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
librustc_const_eval Auto merge of #34686 - alexcrichton:new-stage, r=luqmana 2016-07-11 11:29:52 -07:00
librustc_const_math Allow truncating constants to 16-bit u/isize 2016-06-10 13:07:04 -04:00
librustc_data_structures Auto merge of #34605 - arielb1:bug-in-the-jungle, r=eddyb 2016-07-02 12:25:29 -07:00
librustc_driver Auto merge of #34860 - jseyfried:encapsulate_hygiene, r=nrc 2016-07-17 22:12:59 -07:00
librustc_errors Nudge travis by commenting a little 2016-07-15 06:52:19 -04:00
librustc_incremental Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
librustc_lint Erase regions before computing type layout 2016-07-16 10:45:13 +02:00
librustc_llvm prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
librustc_metadata Do not resolve inherent static methods from other crates prematurely 2016-07-17 00:19:26 +03:00
librustc_mir Auto merge of #34657 - oli-obk:no_needless_const_eval, r=eddyb 2016-07-10 06:43:47 -07:00
librustc_passes Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb 2016-06-26 02:17:27 +00:00
librustc_platform_intrinsics Add intrinsics for x86 bit manipulation instruction sets: BMI 1.0, BMI 2.0, and TBM. 2016-06-22 16:34:10 +02:00
librustc_plugin Fix Cargo.tomls 2016-06-27 18:30:46 +00:00
librustc_privacy Cleanup of some pattern related code 2016-07-08 12:36:45 +03:00
librustc_resolve Rename mtwt to hygiene 2016-07-17 17:12:35 +00:00
librustc_save_analysis Fix fallout. 2016-07-12 04:31:40 +00:00
librustc_trans Run base::internalize_symbols() even for single-codegen-unit crates. 2016-07-18 10:21:40 -04:00
librustc_typeck format: remove all implicit ref handling outside of libfmt_macros 2016-07-14 02:54:47 +08:00
librustc_unicode Auto merge of #34599 - cuviper:unicode-9.0, r=alexcrichton 2016-07-14 17:29:16 -07:00
librustdoc Remove BasicEmitter 2016-07-14 07:57:46 -04:00
libserialize prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
libstd Revert "Refactored code to access TLS only in case of panic" 2016-07-16 22:19:43 +02:00
libsyntax Auto merge of #34886 - jseyfried:improve_stmt_matchers, r=eddyb 2016-07-18 01:40:23 -07:00
libsyntax_ext syntax_ext: format: better code documentation 2016-07-14 03:10:47 +08:00
libsyntax_pos Implement latest rfc style using simpler rendering 2016-07-14 07:57:46 -04:00
libterm Utilize Result::unwrap_err in more places. 2016-05-09 08:40:57 -04:00
libtest Use ptr::{null, null_mut} instead of 0 as *{const, mut} 2016-07-12 10:40:40 +02:00
libunwind run rustfmt on libunwind 2016-05-29 08:47:51 +05:30
llvm@7ca76af03b Update LLVM. 2016-07-08 10:42:48 -04:00
rt hoedown: fix trigger of -Werror=misleading-indentation 2016-05-31 21:38:29 +03:00
rtstartup run rustfmt on rtstartup folder 2016-05-29 21:04:21 +05:30
rust-installer@c37d3747da
rustc evaluate the array length of fixed size array types in rustdoc 2016-07-13 10:35:58 +02:00
rustllvm Update LLVM. 2016-07-08 10:42:48 -04:00
test Auto merge of #34357 - tbu-:pr_exact_size_is_empty, r=brson 2016-07-18 14:26:22 -07:00
tools Update make tidy 2016-07-11 23:24:49 +02:00
stage0.txt rustc: Update stage0 to beta-2016-07-06 2016-07-06 09:29:15 -07:00