diff options
| author | 2026-06-08 16:14:20 +0200 | |
|---|---|---|
| committer | 2026-06-09 04:13:21 +0200 | |
| commit | 8b1549eee9c7f27b4f4f7c7f575c3c50065b89ff (patch) | |
| tree | 3da2cb6cf123ce69c4bd6f980d95941e6c362427 /scripts/Makefile.thinlto | |
| parent | rust: sync: add `UniqueArc::as_ptr` (diff) | |
scripts: generate_rust_analyzer: support passing env vars
A future commit adding `zerocopy` support will need to pass an environment
variable during its build.
Thus add support for an `--envs` parameter, similar to `--cfgs`, that
allows to pass a map of variables to set for a given crate.
This allows us to keep a single source of truth for those values.
No change intended in the generated `rust-project.json`.
Acked-by: Tamir Duberstein <tamird@kernel.org>
Link: https://patch.msgid.link/20260608141439.182634-2-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
