Remove support for -Zprofile
(gcov-style coverage instrumentation)
This commit is contained in:
parent
759e07f063
commit
ce3e14a448
15 changed files with 10 additions and 146 deletions
|
@ -778,9 +778,7 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
|
|||
|
||||
fn inject_profiler_runtime(&mut self, krate: &ast::Crate) {
|
||||
if self.sess.opts.unstable_opts.no_profiler_runtime
|
||||
|| !(self.sess.instrument_coverage()
|
||||
|| self.sess.opts.unstable_opts.profile
|
||||
|| self.sess.opts.cg.profile_generate.enabled())
|
||||
|| !(self.sess.instrument_coverage() || self.sess.opts.cg.profile_generate.enabled())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue