diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2018-09-18 16:33:24 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2018-09-18 16:33:24 +0200 |
| commit | ca197323b9554c9fa1c74f1d3b6370669b709c07 (patch) | |
| tree | b6bc81426505538af4e9895b2951d5f73e288c50 /src/libsyntax | |
| parent | b80cb47889e0ad9400b6708ce2b4c4b364b71982 (diff) | |
| download | rust-ca197323b9554c9fa1c74f1d3b6370669b709c07.tar.gz rust-ca197323b9554c9fa1c74f1d3b6370669b709c07.zip | |
incr.comp.: Allow for more fine-grained testing of CGU reuse and use it to test incremental ThinLTO.
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 060faa9856d..0c1e57c85eb 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -930,6 +930,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 \ |
