compile

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileCSource

func CompileCSource(cfg *Config, target, source string) (err error)

CompileCSource compile a wasm file to a c source file

func CompileNativeLibrary

func CompileNativeLibrary(cfg *Config, target, source string) error

CompileNativeLibrary compile a wasm file to native shared library

Types

type Config

type Config struct {
	WxDecPath string
	OptLevel  int
}

Config configures the compiler

Jump to

Keyboard shortcuts

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