Commit Graph

6 Commits

Author SHA1 Message Date
coolsnowwolf
741eb4376c rust: update to 1.80.1 2024-10-19 18:22:59 +08:00
coolsnowwolf
e7280b2a94 rust: Update to 1.75.0 2024-01-16 23:03:46 +08:00
lean
d4ad9b75be rust: bump to v1.72.0 2023-09-17 05:46:23 +08:00
Oskari Rauta
35d4c6a128 rust: update to 1.68.1
also add new variable CARGO_VARS to make it possible
to pass environment variables for cargo process.
This is necessary when for example, cross-compiling
netavark.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-03-31 15:01:25 +00:00
Tianling Shen
c6fead5f68 rust: fix build with glibc
Don't set musl-specific options/ldflags when using glibc.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-30 06:48:27 +00:00
Tianling Shen
a279daed53 rust: refactor build helper
Added new RustBinPackage, RustBinHostBuild wrapper.
Added new RUST_PKG_FEATURES flag.
Moved CARGO_HOME to STAGING_DIR_HOSTPKG.
Overrode default Build/Compile and Host/Compile to Cargo build.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-30 06:47:02 +00:00