Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#[link_args] should support runs of spaces #15487

Closed
o11c opened this issue Jul 6, 2014 · 0 comments · Fixed by #15502
Closed

#[link_args] should support runs of spaces #15487

o11c opened this issue Jul 6, 2014 · 0 comments · Fixed by #15502

Comments

@o11c
Copy link

o11c commented Jul 6, 2014

The following uses should work, but currently fail because the linker can't load a file whose name is the empty string.

#[link_args = "-lc "] extern {}
#[link_args = " -lc"] extern {}
#[link_args = "-lm  -lc"] extern {}

Splitting on spaces was introduced in #6192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant