Files
linux-stable-mirror/scripts
Miguel Ojeda 8b1549eee9 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>
2026-06-09 04:13:21 +02:00
..
2024-10-07 02:12:27 +09:00
2026-05-27 01:53:42 +02:00
2024-11-28 08:11:56 +09:00
2026-01-11 06:09:11 -10:00