mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
wasm: remove dependency on thirdparty/binaryen, webassembly backend rewrite (#18120)
This commit is contained in:
@@ -43,4 +43,11 @@ mut:
|
||||
locals []FunctionLocal
|
||||
pub:
|
||||
name string
|
||||
pub mut:
|
||||
export_name ?string
|
||||
}
|
||||
|
||||
// export_name sets the export name of the function to `name`
|
||||
pub fn (mut func Function) export_name(name string) {
|
||||
func.export_name = name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user