bytecodealliance / lucet

Lucet, the Sandboxing WebAssembly Compiler.
Apache License 2.0
4.06k stars 165 forks source link

move lucet-validate into lucetc crate #575

Closed pchickey closed 4 years ago

pchickey commented 4 years ago

lucet-validate was creating more trouble as a separate crate than it was worth. And, to fix some design problems, I ended up rewriting it piece-by-piece.

The PR is arranged as a series of commits that transform the lucet-validate code into the final form step by step, with tests passing at each commit, if you want to read it that way.

This PR closes #438: now all validation errors are reported, with positive and negative tests.