rust/compiler/rustc_symbol_mangling
Rich Kadel 4f550f1f93 Improve warnings on incompatible options involving -Zinstrument-coverage
Adds checks for:

* `no_core` attribute
* explicitly-enabled `legacy` symbol mangling
* mir_opt_level > 1 (which enables inlining)

I removed code from the `Inline` MIR pass that forcibly disabled
inlining if `-Zinstrument-coverage` was set. The default `mir_opt_level`
does not enable inlining anyway. But if the level is explicitly set and
is greater than 1, I issue a warning.

The new warnings show up in tests, which is much better for diagnosing
potential option conflicts in these cases.
2020-12-14 12:55:46 -08:00
..
src Improve warnings on incompatible options involving -Zinstrument-coverage 2020-12-14 12:55:46 -08:00
Cargo.toml Update to rustc-demangle 0.1.18 2020-10-21 21:11:11 +01:00