compile

package
v2026.613.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SDKImportCanonical = "github.com/SAPPHIR3-ROS3/Solomon/v2026/internal/sandbox/sdk"

Variables

View Source
var SDKImportPathsForModel = []string{
	"sdk",
	"SAPPHIR3ROS3/Solomon/sdk",
	"SAPPHIR3ROS3/Solomon/v2026/sdk",
}

Functions

func BuildWASM

func BuildWASM(opts Options) ([]byte, error)

func CacheDir

func CacheDir() (string, error)

func EnsureReferenceWASM

func EnsureReferenceWASM(version string) ([]byte, error)

func ModuleDir

func ModuleDir() (string, error)

func ReferenceWASMPath

func ReferenceWASMPath(version string) (string, error)

func RewriteSDKImports added in v2026.613.0

func RewriteSDKImports(src string) string

func WarmSDKCache

func WarmSDKCache() error

Types

type Options

type Options struct {
	Source     string
	ModuleRoot string
	CacheDir   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL