bazelbuild / bazelbuild/rules_rust

How to obtain extra `--emit` outputs?

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

Description

I have a need to compile Rust and obtain both the output binary and the `*.bc` file produced by `--emit=llvm-bc`. Is there a way to add this to the `rustc_binary` outputs?

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.