Our root directory is getting crowded and it is also difficult to organize the "host imports" concept due to this. This moves common and language-specific imports into their own directory. This will break go import signatures on the next release, but is more sustainable overall. Signed-off-by: Adrian Cole <adrian@tetrate.io>
VS
This directory contains tests which compare against other runtimes. As all known alternatives use CGO, this contains its own go.mod, as otherwise project dependencies are tainted and multi-platform tests more difficult to manage.
Examples of portability issues besides CGO
- Wasmtime can only be used in amd64
- Wasmer doesn't link on Windows