From 1eb6b27c39567793a5a01dd529ef5083d358244b Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 4 Jan 2023 16:11:08 -0800 Subject: [PATCH] Remove bitcode from iOS / watchOS Starting with Xcode 14 Apple deprecated bitcode and stopped accepting applications built with it. --- src/lib.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1ebd2cc7a..895a721bd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2279,18 +2279,6 @@ impl Build { cmd.args.push("-isysroot".into()); cmd.args.push(sdk_path); - cmd.args.push("-fembed-bitcode".into()); - /* - * TODO we probably ultimately want the -fembed-bitcode-marker flag - * but can't have it now because of an issue in LLVM: - * https://github.com/rust-lang/cc-rs/issues/301 - * https://github.com/rust-lang/rust/pull/48896#comment-372192660 - */ - /* - if self.get_opt_level()? == "0" { - cmd.args.push("-fembed-bitcode-marker".into()); - } - */ Ok(()) }