Update Rust host compilation command in Dockerfile

This commit is contained in:
Nils Andreas Svee authored and GitHub committed 2026-04-22 00:48:25 +07:00
1 parent c27ffdb668
commit 28bc3a175d
1 file changed
+2 -1
+2 -1
View File
@@ -5,6 +5,7 @@ FROM ghcr.io/openwrt/sdk:${SAFE_TARGET}-${VERSION}
RUN ./scripts/feeds update packages && \ RUN ./scripts/feeds update packages && \
make defconfig && \ make defconfig && \
make package/feeds/packages/rust/host-compile -j$(nproc) && \ { make package/feeds/packages/rust/host-compile -j$(nproc) || \
make package/feeds/packages/rust/host-compile -j1 V=sc; } && \
rm -rf build_dir/host/rustc-*/rustc-*/build \ rm -rf build_dir/host/rustc-*/rustc-*/build \
dl/rustc-*.tar.* dl/rustc-*.tar.*