1
0
Fork 0

Support syscall

This commit is contained in:
David 2025-10-17 17:46:05 +02:00 committed by GitHub
parent 05de0670ea
commit d1ab6ed489
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 247 additions and 8 deletions

View file

@ -13,7 +13,7 @@ const (
type Settings struct {
Envs []string `description:"Environment variables to forward to the wasm guest." json:"envs,omitempty" toml:"envs,omitempty" yaml:"envs,omitempty"`
Mounts []string `description:"Directory to mount to the wasm guest." json:"mounts,omitempty" toml:"mounts,omitempty" yaml:"mounts,omitempty"`
UseUnsafe bool `description:"Allow the plugin to use unsafe package." json:"useUnsafe,omitempty" toml:"useUnsafe,omitempty" yaml:"useUnsafe,omitempty"`
UseUnsafe bool `description:"Allow the plugin to use unsafe and syscall packages." json:"useUnsafe,omitempty" toml:"useUnsafe,omitempty" yaml:"useUnsafe,omitempty"`
}
// Descriptor The static part of a plugin configuration.