projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1469523
)
Fixed RUSTC_LINKER test for Windows hosts
author
Henrik Laxhuber
<henrik@laxhuber.com>
Mon, 23 Apr 2018 16:28:38 +0000
(18:28 +0200)
committer
Henrik Laxhuber
<henrik@laxhuber.com>
Mon, 23 Apr 2018 16:28:38 +0000
(18:28 +0200)
tests/testsuite/build_script.rs
patch
|
blob
|
history
diff --git
a/tests/testsuite/build_script.rs
b/tests/testsuite/build_script.rs
index 68abf84228957000daa112fcf82623ab4e5cb56a..bb44cd8345c837385373c5131bef40b08a58059b 100644
(file)
--- 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", "")