runtime: testing runtime

This commit is contained in:
Li Jie
2025-02-14 17:18:13 +08:00
parent 66909b3000
commit 5329f28580
83 changed files with 3376 additions and 2061 deletions

View File

@@ -16,7 +16,6 @@
package big
// llgo:skipall
import (
"math/rand"
@@ -24,6 +23,9 @@ import (
"github.com/goplus/llgo/runtime/internal/clite/openssl"
)
// llgo:skipall
type _big struct{}
// A Word represents a single digit of a multi-precision unsigned integer.
type Word openssl.BN_ULONG

View File

@@ -16,13 +16,13 @@
package math
// llgo:skip sin cos
import (
_ "unsafe"
c "github.com/goplus/llgo/runtime/internal/clite"
)
// llgo:skip sin cos
const (
LLGoPackage = true
)

View File

@@ -17,7 +17,6 @@
// crypto/rand package.
package rand
// llgo:skipall
import (
"sync"
"sync/atomic"
@@ -28,6 +27,9 @@ import (
"github.com/goplus/llgo/runtime/internal/clite/time"
)
// llgo:skipall
type _rand struct{}
// A Source represents a source of uniformly-distributed
// pseudo-random int64 values in the range [0, 1<<63).
//