Nuke old singlepass compiler, enable optimizing compiler by default (#2130)

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
Takeshi Yoneda
2024-03-07 15:26:45 +09:00
committed by GitHub
parent 43c66df44f
commit 3c7bc733c5
105 changed files with 136 additions and 66845 deletions

View File

@@ -308,9 +308,7 @@ func TestNewHostModuleBuilder_Compile(t *testing.T) {
tc := tt
t.Run(tc.name, func(t *testing.T) {
cfg := NewRuntimeConfig()
cfg.(*runtimeConfig).EnableOptimizingCompiler()
b := tc.input(NewRuntimeWithConfig(testCtx, cfg)).(*hostModuleBuilder)
b := tc.input(NewRuntime(testCtx)).(*hostModuleBuilder)
compiled, err := b.Compile(testCtx)
require.NoError(t, err)
m := compiled.(*compiledModule)