You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All data segments are switched to "passive" data segments to ensure they're only initialized once (coming later)
but I can't find anywhere Data.kind being set to Passive (there were some lines but they're removed), there is also assert!(mem.data_segments.is_empty() is it about same data segments? Is it now assumed that there should never be any and the comment is just old?
Wasm runtime spec seems to say that it manages stack itself, do I understand correctly that inject_start is to arrange for ‘rust own stack’, the one which is kept in global.get $__stack_pointer and managed by same global allocator as the rest of linear memory?
Also, it looks like inject_start doesn't actually inject it since it doesn't call builder.finish if there is no prev_start
This discussion was converted from issue #3486 on June 16, 2023 17:02.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
sorry, no 'concise summary', but hopefully can be interesting for others
but I can't find anywhere Data.kind being set to Passive (there were some lines but they're removed), there is also
assert!(mem.data_segments.is_empty() is it about same data segments? Is it now assumed that there should never be any and the comment is just old?
Also, it looks like inject_start doesn't actually inject it since it doesn't call builder.finish if there is no prev_start
Beta Was this translation helpful? Give feedback.
All reactions