-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite prune-link-args as a ui test
- Loading branch information
Showing
6 changed files
with
60 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Passing link-args with an unexpected space | ||
// could result in the flag being parsed and receiving | ||
// an unexpected, empty linker argument. This test | ||
// ensures successful compilation even when a space is | ||
// present. | ||
// See https://github.com/rust-lang/rust/pull/10749 | ||
|
||
//@ check-pass | ||
//@ ignore-cross-compile | ||
|
||
//@ compile-flags: -C link-args=\"lc \" | ||
// Notice the space at the end, which emulates the output of pkg-config | ||
|
||
fn main() {} |