bazelbuild / bazelbuild/rules_rust

Provide an API to compute `rustc` flags for use in custom rules.

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

Description

I have a use case for a custom build rule that needs to manually invoke `rustc` (some specialised fuzz target). It would be great if `rules_rust` would offer a simple way to compute the necessary flags (e.g. `--target`, `-Clinker=...`, etc.), similar to `cc_common.get_memory_inefficient_command_line`.

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.