@Yury Delendik would you be able to give me some back story about ModuleResources
in wasmparser?
I'm curious if we can remove that trait now with a more flexible Validator
Mostly to decouple a module and function validators. Also, delay function validation until needed.
is there a need for it to be a trait though?
in terms of having external implementors?
or could we perhaps create a FuncValidator::new
or something like that?
So in theory, before, you could validate everything in the module except functions
oh right this makes sense as a functionality thing, was wondering if there was a reason specifically for it to be a trait
to provide context to function validator, you needed some object and ModuleResources
was it
it does not have to be a trait
ok makes sense
thanks!
Last updated: Nov 22 2024 at 16:03 UTC