mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
cgo: avoid '"unsafe" imported but not used' error
This can happen when not all CGo features are used.
This commit is contained in:
committed by
Ron Evans
parent
b41e58bcb4
commit
913131bf62
Vendored
+2
@@ -2,6 +2,8 @@ package main
|
||||
|
||||
import "unsafe"
|
||||
|
||||
var _ unsafe.Pointer
|
||||
|
||||
type C.int16_t = int16
|
||||
type C.int32_t = int32
|
||||
type C.int64_t = int64
|
||||
|
||||
Reference in New Issue
Block a user