-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Teaching rustpkg how to build C libraries #6403
Comments
nominating for feature completeness. we know folks will need this. |
A step towards completing this issue would be to provide a hook that a package script can call to declare a C source file as a dependency ("declared input" for workcache). There would also have to be another hook that a package script could implement to build a given C library from its sources. |
accepted for feature-complete |
It looks like this bug won't be finished on deadline, as I have no way to debug the test failure on the Linux bot without VPN access (which I've requested on ServiceNow, but have gotten no response). |
That sounds like a request for mozilla.org :: Server Operations: Account Requests on Bugzilla instead. |
api::install_pkg now accepts an argument that's a list of (kind, path) dependency pairs. This allows custom package scripts to declare C dependencies, as is demonstrated in rustpkg::tests::test_c_dependency_ok. Closes #6403
api::install_pkg now accepts an argument that's a list of (kind, path) dependency pairs. This allows custom package scripts to declare C dependencies, as is demonstrated in rustpkg::tests::test_c_dependency_ok. Closes rust-lang#6403
…=Manishearth Similar names ignore underscore prefixed names changelog: Ignore underscore-prefixed names for similar_names IMO, this lint is not very helpful for underscore-prefixed variables. Usually they are unused or are just there to ignore part of a destructuring.
Sub-bug of #5677
As we discussed today ( https://etherpad.mozilla.org/Rustpkg-Servo-meeting ) this can be done in two ways: shell out and hope there's a C compiler in
$PATH
, or link rustpkg with the libclang driver. The latter is preferable but is a lot of work.The text was updated successfully, but these errors were encountered: