Moves test-only symbols out of wazero package (#597)

This moves the compiler support flag out of the public package as it was
only put there for tests. This also files modgen under the testing
subdir so that it isn't mistaken for main code.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Crypt Keeper
2022-05-27 17:32:26 -07:00
committed by GitHub
parent f9a59d269a
commit d992373ea7
11 changed files with 14 additions and 8 deletions

View File

@@ -2,9 +2,6 @@
package wazero
// CompilerSupported returns whether the compiler is supported in this environment.
const CompilerSupported = true
// NewRuntimeConfig returns NewRuntimeConfigCompiler
func NewRuntimeConfig() RuntimeConfig {
return NewRuntimeConfigCompiler()