Re: [PATCH v5 0/5] x86/cpufeatures: Automatically generate required and disabled feature masks
From: H. Peter Anvin
Date: Tue Feb 25 2025 - 15:37:56 EST
On February 25, 2025 10:15:51 AM PST, Borislav Petkov <bp@xxxxxxxxx> wrote:
>On Tue, Feb 25, 2025 at 10:10:03AM -0800, H. Peter Anvin wrote:
>> Yeah we had that debate back and forth. Although I personally feel that any
>> sensible build host would have or be able to have Perl, the consensus
>> opinion seems to be that if it can be done with POSIX standard tools or
>> host-side C it should be unless there is a very strong justification to the
>> contrary.
>
>Right, Xin, please make sure you put this rationale in the commit message so
>that people can read it.
>
>> I guess at some point that will add host-side Rust, which will be fun since
>> that adds the whole Rust user space runtime.
>
>There's that too. And that'll be even more fun. I can't wait for the
>compiler-specific workarounds. We're having a lot of fun with two C compilers
>already but who says we can't have more?!
>
>/facepalm.
>
Yeah. See the thread on this topic, where it seems that the Rust language people haven't even figured out basic things like their aliasing model yet...