On Fri, Aug 18, 2023 at 01:10:07PM +0200, Miguel Ojeda wrote:
On Fri, Aug 18, 2023 at 12:38 PM Przemek Kitszel
[off-list ref] wrote:
quoted
Rust folks, could you please tell me if this is something I should fix,
or I just uncovered some existing bug in "unstable" thing?
Perhaps it is worth to mention, diff of v3 vs v2 is:
move dummy implementation of __has_builtin() macro to the top of
compiler_types.h, just before `#ifndef ASSEMBLY`
Nothing you need to worry about, it is an issue with old `bindgen` and
LLVM >= 16, fixed in commit 08ab786556ff ("rust: bindgen: upgrade to
0.65.1") which is in `rust-next` at the moment. Sorry about that, and
thanks for pinging us!
LKP / Yujie / Philip: since we got a few reports on this, would it be
possible to avoid LLVM >= 16 for Rust-enabled builds for any branch
that does not include the new `bindgen` or at least 08ab786556ff? Or,
Got it, we will update the bot to handle this to avoid further false
positive.
if Greg is OK with that, I guess we could also backport the upgrade,
but perhaps it is a bit too much for stable?
Cheers,
Miguel