case "${TARGET}" in
*"ios"*) export RUSTFLAGS="${RUSTFLAGS} -C link-args=-mios-simulator-version-min=7.0"
rustc ./ci/deploy_and_run_on_ios_simulator.rs -o ios_cargo_runner --verbose if [ "${TARGET}" = "x86_64-apple-ios" ]; then export CARGO_TARGET_X86_64_APPLE_IOS_RUNNER
CARGO_TARGET_X86_64_APPLE_IOS_RUNNER="$(pwd)/ios_cargo_runner" fi if [ "${TARGET}" = "i386-apple-ios" ]; then export CARGO_TARGET_I386_APPLE_IOS_RUNNER
CARGO_TARGET_I386_APPLE_IOS_RUNNER="$(pwd)/ios_cargo_runner" fi
;;
*)
;;
esac
# Check that the no-std builds are not linked against a libc with default # features or the std feature enabled:
! grep -q "default" build_no_std.txt
! grep -q "std" build_no_std.txt # Make sure that the resulting build contains no std symbols
! find target/ -name "*.rlib" -exec nm {} \; | grep "std"
# Runs mach's run-time tests: if [ -z "$NORUN" ]; then
cargo test --target "${TARGET}" -vv
cargo test --target "${TARGET}" -vv --features deprecated
cargo test --no-default-features --target "${TARGET}" -vv fi
# Runs ctest to verify mach's ABI against the system libraries: if [ -z "$NOCTEST" ]; then if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then
cargo test --manifest-path mach-test/Cargo.toml --target "${TARGET}" -vv
cargo test --no-default-features --manifest-path mach-test/Cargo.toml --target "${TARGET}" -vv fi fi
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.