The embedded bitcode should always be prepared for LTO/ThinLTO
This commit is contained in:
parent
1805b33483
commit
1a99ca8da9
13 changed files with 265 additions and 69 deletions
|
@ -626,6 +626,9 @@ fn produce_final_output_artifacts(
|
|||
// them for making an rlib.
|
||||
copy_if_one_unit(OutputType::Bitcode, true);
|
||||
}
|
||||
OutputType::ThinBitcode => {
|
||||
copy_if_one_unit(OutputType::ThinBitcode, true);
|
||||
}
|
||||
OutputType::ThinLinkBitcode => {
|
||||
copy_if_one_unit(OutputType::ThinLinkBitcode, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue