doc/wg/core/notes/core-notes-2025-11-20.md
Crickets
cdecl to C, because C is
valid on x86_64, whereas cdecl is not. There is a bit of a question whether
it is better to specify cdecl specifically rather than use C like we do
everywhere else in Tock.C
ABI string is equivalent to cdecl, but only when targeting this particular
platform. He cautions against this change because for most platforms they are
substantially different, and cdecl is the canonical name on the platform
this code targets. The way I understand it, we have one calling convention
that would technically work and get rid of the warnings, with no tangible
change in generated code, but it's sending the wrong signal in the codebase
as to this being a different calling convention than intended for these
targets. Is that a fair characterization?cdecl is what is actually happening when compiling for
x86-32. Now it's complaining because cdecl is not supported on our host
platforms. What's the argument against just changing it?C, not compile the code on x86
fn_abi crate.cdecl) in
place.C is the
same thing on other platforms. Could leave a comment saying "this is really
cdecl".cdecl to C perhaps with a comment as Branden described. Or, and
I'm not convinced of this yet, we could raise our frustrations to the Rust
project upstream.x86 working
group time to respond to that first?allow the lint and not make the ABI change. That puts
less impetus on the x86 WG to fix fast, but they would have to change it
before it becomes a hard error.