__log using new encode/decode #5312
Labels
ABI
Everything to do the ABI, especially the JSON representation
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
This issue is part of the new encode/decode scheme. See #4769.
To implement the new encoding for
__log
we need:AbiEncode
. This trait will live inside thecore
module.will be desugared into something like this:
All this will live inside
core::codec
.We may allow customization of the desugaring with attributes like rustc does with the panic handler.
AbiEncode
for basic types such as integers, Vec, String etc...AbiEncode
, the compiler will auto-magically implement the obvious impl that will callencode
on each field following declaration order;__log
intrinsics;--experimental-codec
The text was updated successfully, but these errors were encountered: