We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 545f012 commit 6f7ef1eCopy full SHA for 6f7ef1e
src/librustc/back/rpath.rs
@@ -197,7 +197,7 @@ mod test {
197
#[test]
198
fn test_prefix_rpath() {
199
let sysroot = filesearch::get_or_default_sysroot();
200
- let res = get_install_prefix_rpath(sysroot, "triple");
+ let res = get_install_prefix_rpath(&sysroot, "triple");
201
let mut d = Path::new(env!("CFG_PREFIX"));
202
d.push("lib");
203
d.push(filesearch::rustlibdir());
@@ -211,7 +211,7 @@ mod test {
211
212
fn test_prefix_rpath_abs() {
213
214
215
assert!(Path::new(res).is_absolute());
216
}
217
0 commit comments