We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a96c88e + 28670b6 commit e75e782Copy full SHA for e75e782
src/librustc/session/config.rs
@@ -1970,6 +1970,13 @@ pub fn build_session_options_and_crate_config(
1970
);
1971
}
1972
1973
+ if debugging_opts.profile && incremental.is_some() {
1974
+ early_error(
1975
+ error_format,
1976
+ "can't instrument with gcov profiling when compiling incrementally",
1977
+ );
1978
+ }
1979
+
1980
let mut prints = Vec::<PrintRequest>::new();
1981
if cg.target_cpu.as_ref().map_or(false, |s| s == "help") {
1982
prints.push(PrintRequest::TargetCPUs);
0 commit comments