mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
Using sccache makes recompilation of rustc and Rust packages faster. This also makes the rust package visible in menuconfig, in order for the sccache options to be accessible. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 lines
330 B
Plaintext
16 lines
330 B
Plaintext
menu "Configuration options (for developers)"
|
|
|
|
config RUST_SCCACHE
|
|
bool "Use sccache"
|
|
help
|
|
Shared compilation cache; see https://github.com/mozilla/sccache
|
|
|
|
config RUST_SCCACHE_DIR
|
|
string "Set sccache directory" if RUST_SCCACHE
|
|
default ""
|
|
help
|
|
Store sccache in this directory.
|
|
If not set, uses './.sccache'
|
|
|
|
endmenu
|