This notably changes NewRuntimeJIT to NewRuntimeCompiler as well renames packages from jit to compiler. This clarifies the implementation is AOT, not JIT, at least when clarified to where it occurs (Runtime.CompileModule). In doing so, we reduce any concern that compilation will happen during function execution. We also free ourselves to create a JIT option without confusion in the future via CompileConfig or otherwise. Fixes #560 Signed-off-by: Adrian Cole <adrian@tetrate.io>
11 lines
205 B
Go
11 lines
205 B
Go
//go:build amd64 || arm64
|
|
|
|
package wazero
|
|
|
|
const CompilerSupported = true
|
|
|
|
// NewRuntimeConfig returns NewRuntimeConfigCompiler
|
|
func NewRuntimeConfig() RuntimeConfig {
|
|
return NewRuntimeConfigCompiler()
|
|
}
|