Closed RoyalIcing closed 4 weeks ago
As a partial step, wasm
has been renamed to __append_body
and various things migrated away so it should only be used in very niche scenarios. Soon this function will be removed and the migration away complete.
In an early version of Orb, most things were wrapped in
wasm do
which setup a scope with the Orb DSL (disablingElixir.Kernel
) and inside you placedfunc do
,(data)
etc.Now instead I’ve transitioned away from that wrapper. Instead you use
defw do
and so now you don’t have to remember which part needs to be be inwasm do
and which does not. Let’s simplify by just getting rid of this layer.Should only use
defw
,global do
,Memory.initial_data!
etc directly at the module scope.