1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
openwrt-packages/lang/rust
Jeffery To 9db7284d58
rust: Consolidate cargo environment variables
This consolidates all environment variables for cargo into:

* CARGO_HOST_CONFIG_VARS / CARGO_PKG_CONFIG_VARS

  These contain all cargo-specific environment variables, i.e. without
  "common" variables like CC.

* CARGO_HOST_VARS / CARGO_PKG_VARS (renamed from CARGO_VARS)

  These contain all environment variables to be passed to cargo.

This also:

* Set the CARGO_BUILD_TARGET environment variable instead of using the
  --target command-line option

* Update Python include files to use CARGO_HOST_CONFIG_VARS /
  CARGO_PKG_CONFIG_VARS

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:23 +08:00
..
patches rust: Cache bootstrap downloads to $(DL_DIR)/rustc 2023-10-11 15:50:22 +08:00
Makefile rust: Move cargo config options into environment variables 2023-10-11 15:50:23 +08:00
rust-host-build.mk rust: Consolidate cargo environment variables 2023-10-11 15:50:23 +08:00
rust-package.mk rust: Consolidate cargo environment variables 2023-10-11 15:50:23 +08:00
rust-values.mk rust: Consolidate cargo environment variables 2023-10-11 15:50:23 +08:00