compiler: build separation runtime with clite
This commit is contained in:
11
runtime/internal/clite/zlib/_demo/crc32demo/crc.go
Normal file
11
runtime/internal/clite/zlib/_demo/crc32demo/crc.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/goplus/llgo/runtime/internal/clite/zlib"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Printf("%08x\n", zlib.Crc32ZString(0, "Hello world"))
|
||||
}
|
||||
Reference in New Issue
Block a user