Messages in this thread | | | From | Sami Tolvanen <> | Date | Mon, 12 Feb 2024 12:36:15 -0800 | Subject | Re: [PATCH v1 0/2] RISC-V: enable rust |
| |
On Mon, Feb 12, 2024 at 11:04 AM Ramon de C Valle <rcvalle@google.com> 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.
LLVM 17 added KCFI support for RISC-V. Sounds like it's just a question of whether rustc uses a new enough version of LLVM then?
Sami
| |