crates/wit-component/tests/components/link-got-func/lib-foo.wat
raw| 1 | (module |
| 2 | (@dylink.0 |
| 3 | (mem-info (memory 0 4)) |
| 4 | ) |
| 5 | (type (func (param i32) (result i32))) |
| 6 | (import "test:test/test" "foo" (func $import_foo (type 0))) |
| 7 | (import "env" "foo" (func $import_foo2 (type 0))) |
| 8 | (import "GOT.func" "foo" (global $import_foo2_address (mut i32))) |
| 9 | (export "test:test/test#foo" (func $import_foo2)) |
| 10 | ) |