Auto merge of #79586 - jyn514:crate-name, r=davidtwco
Fix `unknown-crate` when using -Z self-profile with rustdoc ... by removing a duplicate `crate_name` field in `interface::Config`, making it clear that rustdoc should be passing it to `config::Options` instead. Unblocks https://github.com/rust-lang/rustc-perf/issues/797.
This commit is contained in:
commit
220352781c
7 changed files with 8 additions and 16 deletions
|
@ -1338,7 +1338,7 @@ pub fn build_session(
|
|||
|
||||
let profiler = SelfProfiler::new(
|
||||
directory,
|
||||
sopts.crate_name.as_ref().map(|s| &s[..]),
|
||||
sopts.crate_name.as_deref(),
|
||||
&sopts.debugging_opts.self_profile_events,
|
||||
);
|
||||
match profiler {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue