We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e850650 commit 8ebabbaCopy full SHA for 8ebabba
tests/run-make/rlib-format-packed-bundled-libs-3/rmake.rs
@@ -16,6 +16,7 @@ use run_make_support::{
16
//@ only-linux
17
// Reason: differences in the native lib compilation process causes differences
18
// in the --print link-args output
19
+// FIXME: The test actually passes on windows-gnu, enable it there.
20
21
fn main() {
22
build_native_static_lib("native_dep_1");
@@ -77,8 +78,10 @@ fn main() {
77
78
.stdout_utf8();
79
80
let re = regex::Regex::new(
-"--whole-archive.*native_dep_1.*--whole-archive.*lnative_dep_2.*no-whole-archive.*lnative_dep_4"
81
- ).unwrap();
+ "--whole-archive.*native_dep_1.*--whole-archive.*libnative_dep_2.a\
82
+ .*no-whole-archive.*libnative_dep_4.a",
83
+ )
84
+ .unwrap();
85
86
assert!(re.is_match(&out));
87
}
0 commit comments