Re: [PATCH v1 0/2] RISC-V: enable rust

From: Miguel Ojeda
Date: Mon Feb 12 2024 - 14:12:30 EST


On Mon, Feb 12, 2024 at 8:02 PM Ramon de C Valle <rcvalle@xxxxxxxxxx> wrote:
>
> Sorry for the late reply. Sami might be the best person to answer this, but KCFI (not CFI) tests are lowered by passes that are architecture specific (see https://reviews.llvm.org/D119296), so we'd need to add support for RISC-V. There is no additional work required in the Rust compiler besides enabling it for the new target.

Thanks a lot Ramon!

Then for RISC-V let's go for the `depends on` for the moment, and we
can remove when the support lands for RISC-V (ideally when someone has
managed to boot it at least under some configuration).

Cheers,
Miguel