-
Notifications
You must be signed in to change notification settings - Fork 8
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
Eliminate .bzl files, support arbitrary target plats, and lightly refactor for other build tools #6
Conversation
An example invocation:
|
That's some awesome work! I was not planning to say this but since I am looking at the template, I see one issue. |
I appreciate the comment (and the suggestion regd genrule.cmd): I'm still doing a lot of investigative work here to try to get to somewhere where common crates are buildable. Unfortunately, that means basically everything but the kitchen sink, since most everything depends on openssl... which is a very painful dep to automatically handle. I'll try to keep more public updates, and I'm currently working on more documentation around design decisions (and alternatives considered). Thanks again for looking! |
I'm looking to make good on the idea of special "designated platforms", since I think its a viable strategy. This opens the door to a one size fits all BUILD file generation process, whose end user customization is facilitated by Buildozer.
This change implies that bzl files will be no more (as they won't be useful).
It adds a "--targets" flag to cargo-raze that synthesizes build rules for each target platform with the exact required dependencies.
It will also see the removal of the bazel rules for cargo-raze, as there will no longer be an intermediate process -- cargo-raze will deliver ready-to-use BUILD files.