Respond to RFC comments.
This commit is contained in:
parent
100882296e
commit
804579ca77
2 changed files with 25 additions and 17 deletions
|
@ -425,7 +425,7 @@ fn get_pgo_sample_use_path(config: &ModuleConfig) -> Option<CString> {
|
|||
|
||||
fn get_instr_profile_output_path(config: &ModuleConfig) -> Option<CString> {
|
||||
if config.instrument_coverage {
|
||||
Some(CString::new(format!("{}", PathBuf::from("default_%m_%p.profraw").display())).unwrap())
|
||||
Some(CString::new("default_%m_%p.profraw").unwrap())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue