wasm-linker: refactor Limits and add flags

Rather than adding the flags "on-demand" during limits writing,
we now properly parse them and store the flags within the limits
itself. This also allows us to store whether we're using shared-
memory or not. Only when the correct flag is set will we set the
max within `Limits` or else we will leave it `undefined`.
09abd53da7Luuk de Gram committed on 3/18/2023, 7:13:29 PMparentb0024c4
3 files changedLine totals unavailable