rust/src
bors 7ce713961c Auto merge of #30301 - michaelwoerister:mir-to-metadata2, r=nikomatsakis
This PR makes `Mir` `RustcEncodable` and `RustcDecodable` and stores it in crate metadata for inlinable items.

Some other things in here:
- `mir::visit::Visitor` is extended to also visit `Literals`, `Spans` and `DefIds`.
- It also adds `mir::visit::MutVisitor` which allows to mutate the visited `Mir` structure in place.
- Some numbers on how big MIR is in metadata (total metadata size in bytes):

|                | w/ MIR     | w/o MIR     | Rel. Size |
|----------------|-----------:|------------:|:---------:|
| libcore        | 17,695,473 |  14,263,377 |  124%     |
| liblibc        | 411,440   |  404,382    | 102%      |
| libcollections |  4,537,975 |   3,526,933 |   129%    |
| libserialize   |  2,574,769 |   2,060,798 |   125%    |
| libsyntax      | 15,262,894 |  12,075,574 |  126%     |
| librustc       | 16,984,537 |  13,692,168 |  124%     |

So, adding MIR to metadata makes it about 25% bigger. It could be worse, considering that it still uses the inefficient RBML encoding. Still, the question is whether we should put MIR emission behind a `-Z` flag.
2015-12-11 00:59:48 +00:00
..
compiler-rt@b6087e82ba Update compiler-rt 2015-11-07 00:26:44 +08:00
compiletest std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
doc Auto merge of #30292 - Xmasreturns:patch-3, r=steveklabnik 2015-12-10 04:54:03 +00:00
driver Run rustfmt on driver. 2015-10-11 23:41:43 -07:00
error-index-generator Run rustfmt on error-index-generator. 2015-10-11 23:44:32 -07:00
etc Improve htmldocck.py error messages 2015-12-10 17:34:54 +01:00
grammar fix rustc-test 2015-11-26 19:19:54 +02:00
jemalloc@e24a1a025a
liballoc Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon 2015-12-10 19:54:15 +00:00
liballoc_jemalloc std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
liballoc_system std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
libarena Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
libbacktrace Clean whitespace 2015-10-19 11:16:31 -04:00
libcollections Improve documentation on String's methods 2015-12-10 17:04:08 -05:00
libcollectionstest std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
libcore Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon 2015-12-10 19:54:15 +00:00
libcoretest std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
libflate Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
libfmt_macros Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
libgetopts Change internal getopts so --a=b=c acts like --a b=c rather than --a b. 2015-12-04 22:02:09 +01:00
libgraphviz Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
liblibc@867c6ff0b8 Better docs for the str primitive 2015-11-30 16:10:47 -05:00
liblog std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librand std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
librbml Auto merge of #30140 - michaelwoerister:tls-encoding, r=nikomatsakis 2015-12-09 15:10:37 +00:00
librustc Make MIR encodable and store it in crate metadata. 2015-12-10 16:59:31 -05:00
librustc_back std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librustc_bitflags std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librustc_borrowck Auto merge of #30185 - fhahn:improve-borrowck-public-accessibility, r=pnkfelix 2015-12-05 09:08:14 +00:00
librustc_data_structures Add TupleSlice trait to rustc_data_structures. 2015-12-10 14:56:18 -05:00
librustc_driver Auto merge of #30145 - petrochenkov:hyg, r=nrc 2015-12-09 00:41:26 +00:00
librustc_front adjust documentation to mention intravisit instead of visit 2015-12-10 10:52:32 +01:00
librustc_lint Do MTWT resolution during lowering to HIR 2015-12-05 00:40:21 +03:00
librustc_llvm std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librustc_metadata Make MIR encodable and store it in crate metadata. 2015-12-10 16:59:31 -05:00
librustc_mir MIR: Make Mir take ownership of InlineAsm values. 2015-12-10 16:39:17 -05:00
librustc_platform_intrinsics Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
librustc_plugin split the metadata code into rustc_metadata 2015-11-26 18:22:40 +02:00
librustc_privacy Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
librustc_resolve Auto merge of #30145 - petrochenkov:hyg, r=nrc 2015-12-09 00:41:26 +00:00
librustc_trans Make MIR encodable and store it in crate metadata. 2015-12-10 16:59:31 -05:00
librustc_typeck Auto merge of #30145 - petrochenkov:hyg, r=nrc 2015-12-09 00:41:26 +00:00
librustc_unicode Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon 2015-12-10 19:54:15 +00:00
librustdoc Auto merge of #30036 - mitaa:doc_id, r=alexcrichton 2015-12-08 20:15:53 +00:00
libserialize Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
libstd Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon 2015-12-10 19:54:15 +00:00
libsyntax Auto merge of #29995 - DanielJCampbell:Expanded-Span-Printing, r=nrc 2015-12-08 18:23:57 +00:00
libterm libterm: bring across changes from term 2015-12-03 19:27:59 +13:00
libtest std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
llvm@3564439515 Disable the null check elimination pass 2015-12-02 18:19:10 +01:00
rt Add test case for #28676. 2015-10-14 14:51:26 -06:00
rtstartup std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
rust-installer@c37d3747da Fix error message spans 2015-07-25 19:57:59 -07:00
rustbook fixes #17017 (update padding:11px line 142 of rustbook.css) 2015-09-28 12:11:18 -05:00
rustllvm Disable the null check elimination pass 2015-12-02 18:19:10 +01:00
test Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon 2015-12-10 19:54:15 +00:00
snapshots.txt adding openbsd snapshot 2015-09-04 15:01:06 -07:00