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
I've got rules_rust all setup and working for my personal website here that id like to b build it as a static site and deploy the built dist/ folder - built with trunk build.
I'm using the latest rules_rust release I think and bzlmod too using the from_cargo approach to pull in crates.
The problem im getting to is if I try and add the trunk crate to the Cargo.toml file and run bazel query @crates//......its not listed for some reason.
I think its because the crate only provides an "installable" CLI binary and not an actual library.
Is there a way to somehow get this trunk CLI executable as a Bazel target, without having to break hermicity/still pull it in using rules_rust? I couldn't find an example of this situation anywhere in the rules_rust docs unfortunately...thats why im asking here.
Thanks in advanced 🙏🏼
The text was updated successfully, but these errors were encountered:
I've got rules_rust all setup and working for my personal website here that id like to b build it as a static site and deploy the built
dist/
folder - built withtrunk build
.I'm using the latest
rules_rust
release I think andbzlmod
too using thefrom_cargo
approach to pull in crates.The problem im getting to is if I try and add the
trunk
crate to theCargo.toml
file and runbazel query @crates//...
...its not listed for some reason.I think its because the crate only provides an "installable" CLI binary and not an actual library.
Is there a way to somehow get this
trunk
CLI executable as a Bazel target, without having to break hermicity/still pull it in usingrules_rust
? I couldn't find an example of this situation anywhere in therules_rust
docs unfortunately...thats why im asking here.Thanks in advanced 🙏🏼
The text was updated successfully, but these errors were encountered: