diff options
| author | bors <bors@rust-lang.org> | 2018-09-23 07:38:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-09-23 07:38:17 +0000 |
| commit | 317ae05a7e4ee5324cc006eda877eb8f2eb57898 (patch) | |
| tree | 8ee1ec1f1f10f20299f44f7b648dd49748959624 /src/libsyntax | |
| parent | 7714c430ae1f771001fc0a1b083752485baba56e (diff) | |
| parent | ca197323b9554c9fa1c74f1d3b6370669b709c07 (diff) | |
| download | rust-317ae05a7e4ee5324cc006eda877eb8f2eb57898.tar.gz rust-317ae05a7e4ee5324cc006eda877eb8f2eb57898.zip | |
Auto merge of #54325 - michaelwoerister:incr-thinlto-tests, r=alexcrichton
incr.comp.: Allow for more fine-grained testing of CGU reuse and use it to test incremental ThinLTO. This adds some tests specifically targeted at incremental ThinLTO, plus the infrastructure for tracking the kind of cache hit/miss we had for a given CGU. @alexcrichton, let me know if you can think of any more tests to add. ThinLTO works rather reliably for small functions, so we should be able to test it in a robust way. I think after this lands it might time for a "Help us test incremental ThinLTO" post on irlo. r? @alexcrichton
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index d44d2146d82..65ffd96e7a0 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -933,6 +933,12 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG is just used for rustc unit tests \ and will never be stable", cfg_fn!(rustc_attrs))), + ("rustc_expected_cgu_reuse", Whitelisted, Gated(Stability::Unstable, + "rustc_attrs", + "this attribute \ + is just used for rustc unit tests \ + and will never be stable", + cfg_fn!(rustc_attrs))), ("rustc_synthetic", Whitelisted, Gated(Stability::Unstable, "rustc_attrs", "this attribute \ |
