cl: process llgo:skip on const, type declaration, deprecate llgo:skip on import
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
|
||||
package subtle
|
||||
|
||||
// llgo:skip XORBytes
|
||||
import (
|
||||
_ "unsafe"
|
||||
)
|
||||
|
||||
// llgo:skip XORBytes
|
||||
type _xor struct{}
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
|
||||
package fmt
|
||||
|
||||
// llgo:skipall
|
||||
import (
|
||||
_ "unsafe"
|
||||
)
|
||||
|
||||
// // llgo:skipall
|
||||
type _fmt struct{}
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
|
||||
package reflectlite
|
||||
|
||||
// llgo:skipall
|
||||
import (
|
||||
_ "unsafe"
|
||||
)
|
||||
|
||||
// llgo:skipall
|
||||
type _reflectlite struct{}
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
|
||||
package unix
|
||||
|
||||
// llgo:skipall
|
||||
import (
|
||||
_ "unsafe"
|
||||
)
|
||||
|
||||
// llgo:skipall
|
||||
type _unix struct{}
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
|
||||
package reflect
|
||||
|
||||
// llgo:skipall
|
||||
import (
|
||||
_ "unsafe"
|
||||
)
|
||||
|
||||
// llgo:skipall
|
||||
type _reflect struct{}
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package syscall
|
||||
|
||||
// llgo:skipall
|
||||
import (
|
||||
"unsafe"
|
||||
|
||||
@@ -25,6 +24,9 @@ import (
|
||||
"github.com/goplus/llgo/runtime/internal/clite/syscall"
|
||||
)
|
||||
|
||||
// llgo:skipall
|
||||
type _syscall struct{}
|
||||
|
||||
type Timespec syscall.Timespec
|
||||
type Timeval syscall.Timeval
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package time
|
||||
|
||||
// llgo:skipall
|
||||
import (
|
||||
"unsafe"
|
||||
|
||||
@@ -24,6 +23,9 @@ import (
|
||||
"github.com/goplus/llgo/runtime/internal/clite/time"
|
||||
)
|
||||
|
||||
// llgo:skipall
|
||||
type _time struct{}
|
||||
|
||||
type Time struct {
|
||||
// wall and ext encode the wall time seconds, wall time nanoseconds,
|
||||
// and optional monotonic clock reading in nanoseconds.
|
||||
|
||||
Reference in New Issue
Block a user