Masahiro Yamada writes:
> On Tue, Aug 2, 2022 at 10:53 AM Miguel Ojeda wrote:
>>
>> Having all the new files in place, we now enable Rust support
>> in the build system, including `Kconfig` entries related to Rust,
>> the Rust configuration printer, the target specification
>> generation script,
On Tue, Aug 2, 2022 at 10:53 AM Miguel Ojeda wrote:
>
> Having all the new files in place, we now enable Rust support
> in the build system, including `Kconfig` entries related to Rust,
> the Rust configuration printer, the target specification
> generation script, the version detection script
On Wed, Aug 17, 2022 at 5:51 PM Arnd Bergmann wrote:
>
> Thanks for the explanation. My hope was that building the kernel
Don't mention it!
> would actually be easier here than building the more complicated
> rust user space.
Yeah, the kernel is complicated for them in different ways, so I
On Wed, Aug 17, 2022 at 6:11 PM Björn Roy Baron
wrote:
>
> There is already a prototype of such a driver. It can be found at
> https://github.com/Rust-GCC/cargo-gccrs. Unlike what the name suggests it is
> not cargo specific. It consists of two binaries. The first calls cargo, but
> tells it
On Wed, Aug 17, 2022 at 5:13 PM Miguel Ojeda
wrote:
> On Wed, Aug 17, 2022 at 4:40 PM Arnd Bergmann wrote:
> >
> > I tried enabling rust support in the gcc builds I provide at
> > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/arm64/12.1.0/
>
> Thanks for giving it a go!
>
> > to
Hi Arnd,
On Wed, Aug 17, 2022 at 4:40 PM Arnd Bergmann wrote:
>
> Hi Miguel,
>
> I tried enabling rust support in the gcc builds I provide at
> https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/arm64/12.1.0/
Thanks for giving it a go!
> to make this more accessible, but it appears
On Tue, Aug 2, 2022 at 3:50 AM Miguel Ojeda wrote:
>
> +# These flags apply to all Rust code in the tree, including the kernel and
> +# host programs.
> +export rust_common_flags := --edition=2021 \
> + -Zbinary_dep_depinfo=y \
> +
Having all the new files in place, we now enable Rust support
in the build system, including `Kconfig` entries related to Rust,
the Rust configuration printer, the target specification
generation script, the version detection script and a few
other bits.
Co-developed-by: Alex Gaynor