bazelbuild / bazelbuild/rules_rust

Cargo check

Open
#2,978 10 comments 0 reactions 0 assignees View on GitHub
needs-design
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

I am looking for an alternative to `cargo check --message-format=json` but cannot find it anywhere.

I have tried `bazel run @rules_rust//tools/upstream_wrapper:cargo check` but this expects a Cargo.toml file which I don't have.

How can I feed the right data to Rust Analyzer to check on save?

Minimal breaking example:
https://github.com/otiv-willem-vanhulle/bazel-rust-check

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.