-
Notifications
You must be signed in to change notification settings - Fork 993
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When trying to compile this:
package main
import (
"fmt"
_ "net"
)
func main() {
fmt.Println("Hello")
}
with these comands:
# docker run --privileged --rm -v $(pwd):/src -ti tinygo/tinygo bash
> cd /src
> tinygo run main.go
I get:
# net
../usr/include/netdb.h:617:23: unexpected token ILLEGAL
../usr/include/netdb.h:618:22: unexpected token ILLEGAL
../usr/include/netdb.h:624:23: unexpected token ILLEGAL
../usr/include/netdb.h:625:25: unexpected token ILLEGAL
../usr/include/netdb.h:617:23: unexpected token ILLEGAL
../usr/include/netdb.h:618:22: unexpected token ILLEGAL
../usr/include/netdb.h:624:23: unexpected token ILLEGAL
../usr/include/netdb.h:625:25: unexpected token ILLEGAL
../usr/include/netdb.h:617:23: unexpected token ILLEGAL
../usr/include/netdb.h:618:22: unexpected token ILLEGAL
../usr/include/netdb.h:624:23: unexpected token ILLEGAL
../usr/include/netdb.h:625:25: unexpected token ILLEGAL
I get the same error, when I have included the bluetooth package (https://github.com/tinygo-org/bluetooth).
So I can not compile for linux with the bluetooth package.
alkar, aweis89 and typeless
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request