diff --git a/init/Kconfig b/init/Kconfig index a98f39039cc90..861cf35157eba 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -61,7 +61,13 @@ config LLD_VERSION default 0 config RUST_IS_AVAILABLE - def_bool $(success,$(srctree)/scripts/rust-is-available.sh) + # Because some common tools like 'diff' don't support permissions of + # the files, 'rust-is-available.sh' in some trees that managed with such + # tools result in having no execution permission. As a temporal work + # around, we specify the interpreter ('/bin/sh'). It will be unneeded + # once 'rust-is-available.sh' is merged in the mainline with its execution + # permission. + def_bool $(success,/bin/sh $(srctree)/scripts/rust-is-available.sh) help This shows whether a suitable Rust toolchain is available (found).