-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
compiletest does not pass --extern
flags
#53737
Comments
I have a branch where I implemented the Which way is preferred here? |
@eddyb care to link the branch? |
@eddyb my preference would be to be able to test All The Things, I guess? That is, I see value in both. I guess the motivation for |
compiletest triage: this is actually not actionable:
|
In #51456, @qmx and I noticed that compiletest, when using aux-build libraries, simply supplies the compiler with
-L
instead of using the--extern lib_name=path-to-rlib
compiler argument form. This is a shame because the latter form is what cargo actually uses in practice!We ought to add another comment form to use the latter. Something like:
or perhaps a different header name.
(We could also retrofit the existing
aux-build
to use--extern
, but it seems useful to be able to test in both modes, actually, so I'd prefer to add something new.)The text was updated successfully, but these errors were encountered: