compile

package
v0.0.0-...-35ce171 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: 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