mirror of
https://github.com/openwrt/packages.git
synced 2026-12-01 22:35:30 +04:00
Include rust-values.mk of the build system, take its build dependencies, and build from a vendor tarball generated from the PyPI archive with the crates of src/_bcrypt, so that cargo builds offline. setuptools-rust sets RUSTFLAGS for musl targets, which makes cargo ignore the target rustflags of the build system, and with them the sysroot of libstd-rust. Pass those rustflags in RUSTFLAGS, which setuptools-rust keeps next to its own. Signed-off-by: Daniel Golle <daniel@makrotopia.org>