mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
Relax framework linking test
This test was introduced in #118644, but was over-specified in that it assumed the path of the linker was always `cc`.
This commit is contained in:
parent
23d47dba31
commit
de212963f8
@ -1,4 +1,4 @@
|
||||
error: linking with `cc` failed: exit status: 1
|
||||
error: linking with `LINKER` failed: exit status: 1
|
||||
|
|
||||
ld: Undefined symbols:
|
||||
_CFRunLoopGetTypeID, referenced from:
|
||||
|
@ -6,8 +6,10 @@
|
||||
//@ [weak]run-pass
|
||||
//@ [both]run-pass
|
||||
|
||||
// The linker's exact error output changes between Xcode versions.
|
||||
// The linker's exact error output changes between Xcode versions, depends on
|
||||
// linker invocation details, and the linker sometimes outputs more warnings.
|
||||
//@ compare-output-lines-by-subset
|
||||
//@ normalize-stderr-test: "linking with `.*` failed" -> "linking with `LINKER` failed"
|
||||
//@ normalize-stderr-test: "Undefined symbols for architecture .*" -> "ld: Undefined symbols:"
|
||||
//@ normalize-stderr-test: "._CFRunLoopGetTypeID.," -> "_CFRunLoopGetTypeID,"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user