rust: add docs

Signed-off-by: gitea-action <git@cooluc.com>
This commit is contained in:
gitea-action
2026-05-11 03:18:45 +08:00
parent 509dd13080
commit 2006dff59c
+13
View File
@@ -0,0 +1,13 @@
# OpenWrt Rust feed with guaranteed CI LLVM artifacts
## How to use?
After `./scripts/feeds install -a`, replace the default Rust package:
```sh
rm -rf feeds/packages/lang/rust
git clone https://github.com/sbwml/packages_lang_rust feeds/packages/lang/rust
```
This feed maintains Rusts CIgenerated LLVM artifacts in a persistent and alwaysavailable state.
It ensures `llvm.download-ci-llvm = true` works reliably across Rust versions, avoiding the common 404/cleanup issues from upstream CI and providing a consistent bootstrap environment for OpenWrt builds.