You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in the roadmap issue, in the taxonomy of the build:
crate dependency management
a build planner
a build execution engine
My ideal solution is
Cargo acts as the crate dependency manager
Custom cargo subcommand acts as the "build planner" up to the crate boundary. That is to say, explicit Cargo.toml dependencies get exposed, and their usage is dictated as normal in bazel, but below the surface, a cargo aware application performs planning
This is caused by cargo2bazel being really unpolished. My ideal vendoring setup:
Then, for new contributors, the steps are (following acmcarther/cargo2bazel#16)
cargo install bazel-vendor
cargo bazel-vendor
This will generate the exact dependencies for your platform (following Support [target.*.dependencies] directives cargo2bazel#13) into your third_party directory.
The text was updated successfully, but these errors were encountered: