Change:
Full gist:
cc
cc since you've been contributing iOS patches. This same error still repros after with: Are you able to successfully build a cross-compiler?
there are 2 different things: building and installing. What fails is phase and I believe I have kind of dirty hack for it in my fork, but will try to find a correct solution and issue PR soon.
this one ?
yep
cool, would you mind submitting that PR?
since PR is going to be open for a while considering current bors queue, I have to mention that in general when you need up-to-date Rust for iOS you can either built it by yourself from or use a prebuilt version from It may lag a bit (usually <= 1 day) but it is guaranteed to build (as iOS is not on Rust official buildbots and master is broken sometimes).

Discussion:
endif CFG_LIB_NAME_aarch64-apple-ios = lib$(1).a CFG_LIB_GLOB_aarch64-apple-ios = lib$(1)-*.a <del> CFG_LIB_SKIP_INSTALL_aarch64-apple-ios = 1 #lib$(1)-*.a </del> <ins> CFG_INSTALL_ONLY_RLIB_aarch64-apple-ios = 1 </ins> CFG_STATIC_LIB_NAME_aarch64-apple-ios=lib$(1).a CFG_LIB_DSYM_GLOB_aarch64-apple-ios = lib$(1)-*.a.dSYM CFG_CFLAGS_aarch64-apple-ios := $(CFG_IOS_SDK_FLAGS_aarch64-apple-ios)

endif CFG_LIB_NAME_armv7-apple-ios = lib$(1).a CFG_LIB_GLOB_armv7-apple-ios = lib$(1)-*.a <del> CFG_LIB_SKIP_INSTALL_armv7-apple-ios = 1 #lib$(1)-*.a </del> <ins> CFG_INSTALL_ONLY_RLIB_armv7-apple-ios = 1 </ins> CFG_STATIC_LIB_NAME_armv7-apple-ios=lib$(1).a CFG_LIB_DSYM_GLOB_armv7-apple-ios = lib$(1)-*.a.dSYM CFG_JEMALLOC_CFLAGS_armv7-apple-ios := -arch armv7 -mfpu=vfp3 $(CFG_IOS_SDK_FLAGS_armv7-apple-ios)

endif CFG_LIB_NAME_armv7s-apple-ios = lib$(1).a CFG_LIB_GLOB_armv7s-apple-ios = lib$(1)-*.a <del> CFG_LIB_SKIP_INSTALL_armv7s-apple-ios = 1 #lib$(1)-*.a </del> <ins> CFG_INSTALL_ONLY_RLIB_armv7s-apple-ios = 1 </ins> CFG_STATIC_LIB_NAME_armv7s-apple-ios=lib$(1).a CFG_LIB_DSYM_GLOB_armv7s-apple-ios = lib$(1)-*.a.dSYM CFG_JEMALLOC_CFLAGS_armv7s-apple-ios := -arch armv7s -mfpu=vfp4 $(CFG_IOS_SDK_FLAGS_armv7s-apple-ios)

endif CFG_LIB_NAME_i386-apple-ios = lib$(1).a CFG_LIB_GLOB_i386-apple-ios = lib$(1)-*.dylib <ins> CFG_INSTALL_ONLY_RLIB_i386-apple-ios = 1 </ins> CFG_STATIC_LIB_NAME_i386-apple-ios=lib$(1).a CFG_LIB_DSYM_GLOB_i386-apple-ios = lib$(1)-*.dylib.dSYM CFG_GCCISH_CFLAGS_i386-apple-ios := -Wall -Werror -g -fPIC -m32 $(CFG_IOSSIM_FLAGS_i386-apple-ios)

endif CFG_LIB_NAME_x86_64-apple-ios = lib$(1).a CFG_LIB_GLOB_x86_64-apple-ios = lib$(1)-*.a <del> CFG_LIB_SKIP_INSTALL_x86_64-apple-ios = 1 #lib$(1)-*.a </del> <ins> CFG_INSTALL_ONLY_RLIB_x86_64-apple-ios = 1 </ins> CFG_STATIC_LIB_NAME_x86_64-apple-ios=lib$(1).a CFG_LIB_DSYM_GLOB_x86_64-apple-ios = lib$(1)-*.a.dSYM CFG_CFLAGS_x86_64-apple-ios := $(CFG_IOSSIM_FLAGS_x86_64-apple-ios)

$$(if $$(findstring $(3), $$(PREPARE_HOST)),  $$(call PREPARE_DIR,$$(PREPARE_WORKING_DEST_LIB_DIR))  $$(foreach crate,$$(TARGET_CRATES),  <del> $$(if $$(findstring 1, $$(ONLY_RLIB_$$(crate))),,  </del> <ins> $$(if $$(or $$(findstring 1, $$(ONLY_RLIB_$$(crate))),$$(findstring 1,$$(CFG_INSTALL_ONLY_RLIB_$(2)))),,  </ins> $$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$(2),$$(crate))))  $$(call PREPARE_LIB,$$(call CFG_RLIB_GLOB,$$(crate))))  $$(if $$(findstring $(2),$$(CFG_HOST)),