From: Henrik Laxhuber Date: Mon, 23 Apr 2018 16:28:38 +0000 (+0200) Subject: Fixed RUSTC_LINKER test for Windows hosts X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~1^2~45^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4628011e797e370b73d9409077bbc30b39346d7f;p=cargo.git Fixed RUSTC_LINKER test for Windows hosts --- diff --git a/tests/testsuite/build_script.rs b/tests/testsuite/build_script.rs index 68abf8422..bb44cd834 100644 --- a/tests/testsuite/build_script.rs +++ b/tests/testsuite/build_script.rs @@ -179,7 +179,7 @@ fn custom_build_env_vars() { use std::env; fn main() { - assert_eq!(env::var("RUSTC_LINKER").unwrap(), "/path/to/linker"); + assert!(env::var("RUSTC_LINKER").unwrap().ends_with("/path/to/linker")); } "#) .file("src/lib.rs", "")