Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Nov 14, 2023
1 parent 1a400c9 commit 276271a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tooling/cli/src/mobile/ios/xcode_script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,6 @@ pub fn command(options: Options) -> Result<()> {

let isysroot = format!("-isysroot {}", options.sdk_root.display());

/*let simulator_platform_component =
std::path::Component::Normal(std::ffi::OsStr::new("iPhoneSimulator.platform"));
let simulator_build = options
.sdk_root
.components()
.any(|c| c == simulator_platform_component);*/

for arch in options.arches {
// Set target-specific flags
let (env_triple, rust_triple) = match arch.as_str() {
Expand All @@ -149,7 +142,7 @@ pub fn command(options: Options) -> Result<()> {
"x86_64" => ("x86_64_apple_ios", "x86_64-apple-ios"),
"Simulator" => {
// when using Xcode, the arches for a simulator build will be ['Simulator', 'arm64-sim'] instead of ['arm64-sim']
// so we fix that on our end
// so we ignore that on our end
continue;
}
_ => {
Expand Down

0 comments on commit 276271a

Please sign in to comment.