Skip to content

Commit 00693bc

Browse files
committed
Remove a todo
Submission to the Apple App Store for iOS no longer requires embedding bitcode, but even back when it did, it needed LLVM bitcode, so GCC wouldn't work anyway.
1 parent e3c1cc0 commit 00693bc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/back/write.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ pub(crate) fn codegen(
6868
let _timer = prof
6969
.generic_activity_with_arg("GCC_module_codegen_embed_bitcode", &*module.name);
7070
if lto_supported {
71-
// TODO(antoyo): maybe we should call embed_bitcode to have the proper iOS fixes?
72-
//embed_bitcode(cgcx, llcx, llmod, &config.bc_cmdline, data);
73-
7471
context.add_command_line_option("-flto=auto");
7572
context.add_command_line_option("-flto-partition=one");
7673
context.add_command_line_option("-ffat-lto-objects");

0 commit comments

Comments
 (0)