mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
compiler: disallow most types in //go:wasmimport
This is for compatibility with upstream Go. See https://github.com/golang/go/issues/59149 for more context.
This commit is contained in:
committed by
Ron Evans
parent
41e787d504
commit
b08ff17f6b
Vendored
-6
@@ -62,12 +62,6 @@ entry:
|
||||
|
||||
declare void @main.declaredImport() #7
|
||||
|
||||
; Function Attrs: nounwind
|
||||
define hidden void @main.definedImport(ptr %context) unnamed_addr #2 {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @main.undefinedFunctionNotInSection(ptr) #1
|
||||
|
||||
attributes #0 = { allockind("alloc,zeroed") allocsize(0) "alloc-family"="runtime.alloc" "target-features"="+bulk-memory,+nontrapping-fptoint,+sign-ext" }
|
||||
|
||||
Reference in New Issue
Block a user