DataCount Section Support#70
Conversation
|
Thanks! Do you want to squash your two commits or are you okay with "Fixed failing test" being in the commit history as a distinct event? |
d2e3399 to
67d9fd3
Compare
|
I've squashed the commits. |
|
Thanks, will you publish an updated nuget version with this change soon? Actually, something I always setup on my repos is auto publishing to nuget on push to master (only actually pushing if the version number in the csproj is manually changed). With that in place, making a release is trivial and anyone can submit a PR with that version number change to start the process. Would you be interested in a PR for that? |
|
I'll publish tomorrow. There are one or two small things I want to try put in before shipping. I like having some friction to the publish process. Make it a little inconvenient for myself so I'm sure I really want to 🙂 |
|
I gave this some more thought and not failing on a single optional WASM 2.0 section doesn't justify a special release. It's not going to make any real-world WASM 2.0 files work. |
|
Ah I didn't realise that this section is a WASM 2.0 thing! |
|
Well, maybe not WASM 2.0--but it's definitely post-"MVP" for WebAssembly, which was my original target for completeness. How did you come across this? |
|
I was looking at the spec for sections (linked in my initial comment) while working on something using this library, and just noticed that this one section was missing from the |
|
Ah, I did the same thing when I first made the This will naturally be included in the next release, of course. Those are typically driven by clearing some blocker that's preventing people from using the library. The last release added a feature people wanted several years ago: conversion of WASM to .NET Standard DLL, enabling all kinds of possibilities. |
Added support for
DataCountsection in module loading. This is an optional section, only used to simplify single pass verification of a module. spec: https://webassembly.github.io/spec/core/binary/modules.html#data-count-sectionNo additional verification is performed, the correct value is simply read and discarded. This allows files with this section to be loaded.