rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

Rust rules for Bazel

Results 568 rules_rust issues
Sort by recently updated
recently updated
newest added

Hello, I am running into the following error when updating to `rules_rust` version `0.58.0`: `ERROR: /external/rules_rust~~crate~crate_index/BUILD.bazel: no such target '@@rules_rust~~crate~crate_index//:serde_yaml-0.9.34+deprecated': target 'serde_yaml-0.9.34+deprecated' not declared in package '' defined by /external/rules_rust~~crate~crate_index/BUILD.bazel...

bug
crate-universe

Is there an equivalent to `cargo tree -e features` when using vendoring without a `Cargo.toml`?

This requires some helper logic in the process wrapper so we can move dwo files to predictable output locations, but otherwise it's mostly straightforward. This requires a bazel built after...

A recreation of https://github.com/bazelbuild/rules_rust/pull/3085 closes https://github.com/bazelbuild/rules_rust/issues/2009

This pull request adds support to `wasm32-wasip2` in addition to `wasm32-wasip1`.

It builds the cargo-bazel binary, but then fails to find it somehow: ``` Compiling cargo-bazel v0.16.0 (/home/chipc/.cache/bazel/_bazel_chipc/fb1197929d86973fc3e8ae030fa837b7/external/rules_rust+/crate_universe) Finished `release` profile [optimized] target(s) in 5.56s INFO: Repository rules_rust++cu_nr+cargo_bazel_bootstrap instantiated at: :...

``` WARNING: The module extension @@rules_rust+//rust/private:internal_extensions.bzl%i produced an invalid lockfile entry because it referenced @@[unknown repo 'rules_rust_ctve' requested from @@rules_rust+]. Please report this issue to its maintainers. ```

bug

I have a very simple project that works with `0.56` but not with `0.57.1` and I found the offending PR. * 5e904830 (#3148) - does not work and fails with...

crate-universe

After upgrading wasm_bindgen, a fundamental flaw was revealed in how the rules_js tests were implemented that leads to the following error: https://buildkite.com/bazel/rules-rust-rustlang/builds/14015#0194fb5b-6a34-4211-8f1a-dc54871406ab ``` exec ${PAGER:-/usr/bin/less} "$0" || exit 1 Executing...

wasm