bazelbuild / bazelbuild/rules_rust

crate_universe builds should use rust_bindgen_toolchain

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

Description

(It's possible I'm doing something wrong here...)

I'd expect that bringing in crates with crate_universe would pass the appropriate environment variables to cargo to point to bindgen dependencies provided by the toolchain. (I think that's passing `CLANG_PATH`, `LIBCLANG_PATH`, and maybe `LD_LIBRARY_PATH`)

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.