dispatchrun / net

Go package implementing WASI socket extensions
Apache License 2.0
137 stars 7 forks source link

Remove internal syscall package #3

Closed achille-roussel closed 1 year ago

achille-roussel commented 1 year ago

The syscall package was intended to create a simple path forward to integrate this code with the standard library. Since this is not an immediate goal anymore, let's remove the confusion that may be caused by having a name conflict and redundant code between the two syscall packages.

The PR moves the files from internal/syscall to wasip1/syscall_wasmedge_wasip1.go and updates all the types and functions to be unexported.