Re: [PATCH 00/13] [RFC] Rust support

From: Kajetan Puchalski
Date: Thu Apr 29 2021 - 07:14:44 EST



David Laight <David.Laight@xxxxxxxxxx> writes:

From: Mariusz Ceier
Sent: 28 April 2021 19:34
....

I suggest to wait until featureful GPL implementation of rust language
is made (assuming GNU Rust is on the way) before merging any rust code
in the kernel and when that implementation is done make a requirement
that all rust code must be buildable by at least GPL implementation.

Maybe it would also be worthwhile to make the requirement that the
kernel must be buildable with free software (not just open source
software) explicit ?

Or put the version of the compiler that works in the source tree
with the kernel and then build it as part of the full build.

Building compilers takes several hours, I'm pretty sure usually much more
than the kernel itself. Building the compiler as part of the full build
would be a gigantic pain for everyone involved. Rustc is even worse than
most compilers on that front due to the complexity of its runtime checks.

--
Kind regards,
Kajetan