-
Notifications
You must be signed in to change notification settings - Fork 11
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
[Tracking] Add Bazel support #143
Comments
I've made some PoC in https://github.com/fmorency/bazelpoc and https://github.com/fmorency/bazelpoc_workspace. I can build a rust project, as well as run tests. I started porting
As a last attempt, I tried the PR in google/cargo-raze#512, but it doesn't fix the issue. |
I could build My current PoC parses the The next step of this project is to get rid of the Lastly, I need to add tests and code coverage support. |
Build, tests, code coverage, Doc tests are failing because of bazelbuild/rules_rust#1233 |
TODO:
|
PR almost ready to merge, will close this. |
About the ability to publish a crate on crates.io from Bazel: bazelbuild/rules_rust#458 @UebelAndre said on Slack
|
I am on the fence as to the approach we're taking here. I don't believe dropping Cargo and using Bazel as the single source of truth is the right approach for an open-source Rust project. Crate publishing, top-tier IDE support, etc., rely on Cargo. Generating the Cargo manifest from Bazel was worked on in but it was pointed out in that
We could instead use the Cargo manifest as the single source of truth and generate Bazel files from it. This use-case is supported by
but I don't think it affects us at the moment. I would be happy to discuss this with you @hansl. |
We want to be able to build this project and run its tests using Bazel.
The text was updated successfully, but these errors were encountered: