Skip to content

Commit 447d858

Browse files
committed
The embedded bitcode should always be prepared for LTO/ThinLTO
1 parent 35a43a4 commit 447d858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver/aot.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ fn produce_final_output_artifacts(
210210
// to get rid of it.
211211
for output_type in crate_output.outputs.keys() {
212212
match *output_type {
213-
OutputType::Bitcode | OutputType::ThinLinkBitcode => {
213+
OutputType::Bitcode | OutputType::ThinLinkBitcode | OutputType::ThinBitcode => {
214214
// Cranelift doesn't have bitcode
215215
// user_wants_bitcode = true;
216216
// // Copy to .bc, but always keep the .0.bc. There is a later

0 commit comments

Comments
 (0)