feat: add a histrical wit-bindgen

This commit is contained in:
2023-01-01 00:25:48 +08:00
parent 01e8f5a959
commit aa50d63aec
419 changed files with 45283 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
(component
(type (;0;) (func (param "x" float32)))
(type (;1;) (func (param "x" float64)))
(type (;2;) (func (result float32)))
(type (;3;) (func (result float64)))
(export "float32-param" (type 0))
(export "float64-param" (type 1))
(export "float32-result" (type 2))
(export "float64-result" (type 3))
)

View File

@@ -0,0 +1,8 @@
float32-param: func(x: float32)
float64-param: func(x: float64)
float32-result: func() -> float32
float64-result: func() -> float64