mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 21:43:40 +00:00
Implement CGo support
This mostly works around the default CGo support: this compiler doesn't need special wrappers for C functions as it uses the C calling convention by default.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
|
||||
package cgo
|
||||
|
||||
// dummy
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
package syscall
|
||||
|
||||
// dummy
|
||||
|
||||
type Errno uintptr
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
package unsafe
|
||||
|
||||
// dummy
|
||||
Reference in New Issue
Block a user