compiler: build separation runtime with clite

This commit is contained in:
Li Jie
2025-01-07 22:16:31 +08:00
parent 1172e5bdce
commit 6170973b48
316 changed files with 71331 additions and 178 deletions

View File

@@ -25,7 +25,8 @@ import (
"log"
"strings"
"github.com/goplus/llgo/compiler/internal/abi"
"github.com/goplus/llgo/compiler/internal/env"
"github.com/goplus/llgo/runtime/abi"
)
// -----------------------------------------------------------------------------
@@ -215,7 +216,7 @@ func TypeArgs(typeArgs []types.Type) string {
}
const (
PatchPathPrefix = "github.com/goplus/llgo/compiler/internal/lib/"
PatchPathPrefix = env.LLGoRuntimePkg + "/internal/lib/"
)
// PathOf returns the package path of the specified package.

View File

@@ -5,7 +5,7 @@ import (
"go/types"
"log"
"github.com/goplus/llgo/compiler/internal/abi"
"github.com/goplus/llgo/runtime/abi"
)
// Builds a type representing a Bucket structure for