diff options
author | Marat Safin <jeizsm@gmail.com> | 2018-07-01 14:31:20 +0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-02 21:55:35 +0200 |
commit | 958bd50f910e5d0d7120c3999c9347f036220962 (patch) | |
tree | 68f59dd6397cdd2bb084aad3110afa3a98f91a01 /community/rust/cargo-tests-fix-build-target.patch | |
parent | ba505a5a6bbb08f43242e27787f6941acf777895 (diff) | |
download | aports-958bd50f910e5d0d7120c3999c9347f036220962.tar.bz2 aports-958bd50f910e5d0d7120c3999c9347f036220962.tar.xz |
community/rust: upgrade to 1.27.0
Diffstat (limited to 'community/rust/cargo-tests-fix-build-target.patch')
-rw-r--r-- | community/rust/cargo-tests-fix-build-target.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/rust/cargo-tests-fix-build-target.patch b/community/rust/cargo-tests-fix-build-target.patch new file mode 100644 index 0000000000..98195f697c --- /dev/null +++ b/community/rust/cargo-tests-fix-build-target.patch @@ -0,0 +1,27 @@ +failures: + +---- cfg::cfg_looks_at_rustflags_for_target stdout ---- + running `/home/build/aports/community/rust/src/rustc-1.27.0-src/build/x86_64-alpine-linux-musl/stage2-tools/x86_64-alpine-linux-musl/release/cargo build --target x86_64-unkn +own-linux-gnu` +thread 'cfg::cfg_looks_at_rustflags_for_target' panicked at ' +Expected: execs + but: exited with exit code: 101 +--- stdout + +--- stderr + Compiling b v0.0.1 (file:///home/build/aports/community/rust/src/rustc-1.27.0-src/build/x86_64-alpine-linux-musl/stage2-tools/x86_64-alpine-linux-musl/cit/t356/foo/b) +error[E0463]: can't find crate for `std` + | + = note: the `x86_64-unknown-linux-gnu` target may not be installed + +--- a/src/tools/cargo/tests/testsuite/cfg.rs ++++ b/src/tools/cargo/tests/testsuite/cfg.rs +@@ -449,7 +449,7 @@ fn cfg_looks_at_rustflags_for_target() { + .build(); + + assert_that( +- p.cargo("build --target x86_64-unknown-linux-gnu") ++ p.cargo("build --target x86_64-alpine-linux-musl") + .env("RUSTFLAGS", "--cfg with_b"), + execs().with_status(0), + ); |