Re: linux-next: Tree for Jul 12 (no Rust)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/11/21 7:08 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20210709:
> 
> The rust tree gained a conflict against Linus' tree.
> 

I am getting no builds completing. I see this:

Error: No compiler specified.
Usage:
	../scripts/rust-version.sh <rust-command>
init/Kconfig:71: syntax error
init/Kconfig:70: invalid statement

and then 'bc' running continuously until I kill it.


Since I don't have any Rust compiler or tools installed,
this fixes the build problems for me for now:


---
 init/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20210712.orig/init/Kconfig
+++ linux-next-20210712/init/Kconfig
@@ -62,12 +62,12 @@ config LLD_VERSION
 
 config HAS_RUST
 	depends on ARM64 || CPU_32v6 || CPU_32v6K || (PPC64 && CPU_LITTLE_ENDIAN) || X86_64 || RISCV
-	def_bool $(success,$(RUSTC) --version)
+	def_bool false
 
 config RUSTC_VERSION
 	depends on HAS_RUST
 	int
-	default $(shell,$(srctree)/scripts/rust-version.sh $(RUSTC))
+	default 0
 
 config CC_CAN_LINK
 	bool





[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux