diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-07-08 11:04:10 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-07-15 08:42:59 +1000 |
| commit | f04e866e5752f47e0896550faf40e19fea22d8ea (patch) | |
| tree | dc192030f27fb19c6c842775f931f6a7494a0020 /src/librustc_interface | |
| parent | e284f5d050029906d32667635af9c839fafd3eca (diff) | |
Add and use more static symbols.
Note that the output of `unpretty-debug.stdout` has changed. In that test the hash values are normalized from a symbol numbers to small numbers like "0#0" and "0#1". The increase in the number of static symbols must have caused the original numbers to contain more digits, resulting in different pretty-printing prior to normalization.
Diffstat (limited to 'src/librustc_interface')
| -rw-r--r-- | src/librustc_interface/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_interface/util.rs b/src/librustc_interface/util.rs index 0c8c713c4cf..8fb7d5fcae1 100644 --- a/src/librustc_interface/util.rs +++ b/src/librustc_interface/util.rs @@ -53,7 +53,7 @@ pub fn add_configuration( cfg.extend(target_features.into_iter().map(|feat| (tf, Some(feat)))); if sess.crt_static(None) { - cfg.insert((tf, Some(Symbol::intern("crt-static")))); + cfg.insert((tf, Some(sym::crt_dash_static))); } } |
