Skip to content

Commit 7df9d35

Browse files
committed
Add test for crt-static+lto+rwlock issue.
1 parent e70c60d commit 7df9d35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/ui/issues/issue-94564.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// run-pass
2+
// compile-flags: -C lto -C target-feature=+crt-static -C rpath=no -C opt-level=2
3+
// no-prefer-dynamic
4+
5+
fn main() {
6+
let _ = std::process::Command::new("true").spawn();
7+
}

0 commit comments

Comments
 (0)