{i386,x86_64}-apple-ios targets pass too many thousands of arguments to the linker · Issue #52699 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@gnzlbg

Description

@gnzlbg

To reproduce:

git clone https://github.com/rust-lang-nursery/packed_simd cd packed_simd

Get Rust target:

rustup target add x86_64-apple-ios

Build cargo runner:

export RUSTFLAGS='-C link-args=-mios-simulator-version-min=7.0' rustc ./ci/deploy_and_run_on_ios_simulator.rs -o ios_cargo_runner --verbose export CARGO_TARGET_X86_64_APPLE_IOS_RUNNER=$(pwd)/ios_cargo_runner

Build library:

cargo build --target=x86_64-apple-ios

Build and run tests:

cargo test --target=x86_64-apple-ios

Produces this output (too long to put it here, gist: https://gist.github.com/gnzlbg/4ff458a32ebd56e4d8930aaf766178b4). Linking fails. This is rust-lang-nursery/packed_simd issue: rust-lang/packed_simd#26

cc @michaelwoerister @alexcrichton this might be related to incremental compilation, I see a lot of rcgus.