1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
|
(component
(type (;0;)
(instance
(export (;0;) "r" (type (sub resource)))
(type (;1;) (own 0))
(type (;2;) (func (param "s" string) (result 1)))
(export (;0;) "[constructor]r" (func (type 2)))
(type (;3;) (borrow 0))
(type (;4;) (func (param "self" 3) (result string)))
(export (;1;) "[method]r.m" (func (type 4)))
(type (;5;) (func (param "in" 1) (result 1)))
(export (;2;) "frob" (func (type 5)))
)
)
(import "ns:pkg/i@0.2.1" (instance (;0;) (type 0)))
(type (;1;)
(instance
(export (;0;) "r" (type (sub resource)))
(type (;1;) (own 0))
(type (;2;) (func (param "s" string) (result 1)))
(export (;0;) "[constructor]r" (func (type 2)))
(type (;3;) (borrow 0))
(type (;4;) (func (param "self" 3) (result string)))
(export (;1;) "[method]r.m" (func (type 4)))
(type (;5;) (func (param "in" 1) (result 1)))
(export (;2;) "frob" (func (type 5)))
)
)
(import "j" (instance (;1;) (type 1)))
(type (;2;) (func (result string)))
(import "f" (func (;0;) (type 2)))
(core module (;0;)
(type (;0;) (func (param i32)))
(type (;1;) (func (param i32 i32) (result i32)))
(type (;2;) (func (param i32 i32)))
(type (;3;) (func (param i32) (result i32)))
(type (;4;) (func (result i32)))
(type (;5;) (func (param i32 i32 i32 i32) (result i32)))
(type (;6;) (func))
(import "cm32p2" "f" (func (;0;) (type 0)))
(import "cm32p2|ns:pkg/i@0.2" "[constructor]r" (func (;1;) (type 1)))
(import "cm32p2|ns:pkg/i@0.2" "[method]r.m" (func (;2;) (type 2)))
(import "cm32p2|ns:pkg/i@0.2" "frob" (func (;3;) (type 3)))
(import "cm32p2|ns:pkg/i@0.2" "r_drop" (func (;4;) (type 0)))
(import "cm32p2|j" "[constructor]r" (func (;5;) (type 1)))
(import "cm32p2|j" "[method]r.m" (func (;6;) (type 2)))
(import "cm32p2|j" "frob" (func (;7;) (type 3)))
(import "cm32p2|j" "r_drop" (func (;8;) (type 0)))
(import "cm32p2|_ex_ns:pkg/i@0.2" "r_drop" (func (;9;) (type 0)))
(import "cm32p2|_ex_ns:pkg/i@0.2" "r_new" (func (;10;) (type 3)))
(import "cm32p2|_ex_ns:pkg/i@0.2" "r_rep" (func (;11;) (type 3)))
(import "cm32p2|_ex_j" "r_drop" (func (;12;) (type 0)))
(import "cm32p2|_ex_j" "r_new" (func (;13;) (type 3)))
(import "cm32p2|_ex_j" "r_rep" (func (;14;) (type 3)))
(memory (;0;) 0)
(export "cm32p2_memory" (memory 0))
(export "cm32p2||g" (func 15))
(export "cm32p2||g_post" (func 16))
(export "cm32p2|ns:pkg/i@0.2|[constructor]r" (func 17))
(export "cm32p2|ns:pkg/i@0.2|[method]r.m" (func 18))
(export "cm32p2|ns:pkg/i@0.2|frob" (func 19))
(export "cm32p2|ns:pkg/i@0.2|r_dtor" (func 20))
(export "cm32p2|j|[constructor]r" (func 21))
(export "cm32p2|j|[method]r.m" (func 22))
(export "cm32p2|j|frob" (func 23))
(export "cm32p2|j|r_dtor" (func 24))
(export "cm32p2_realloc" (func 25))
(export "cm32p2_initialize" (func 26))
(func (;15;) (type 4) (result i32)
unreachable
)
(func (;16;) (type 0) (param i32)
unreachable
)
(func (;17;) (type 1) (param i32 i32) (result i32)
unreachable
)
(func (;18;) (type 3) (param i32) (result i32)
unreachable
)
(func (;19;) (type 3) (param i32) (result i32)
unreachable
)
(func (;20;) (type 0) (param i32)
unreachable
)
(func (;21;) (type 1) (param i32 i32) (result i32)
unreachable
)
(func (;22;) (type 3) (param i32) (result i32)
unreachable
)
(func (;23;) (type 3) (param i32) (result i32)
unreachable
)
(func (;24;) (type 0) (param i32)
unreachable
)
(func (;25;) (type 5) (param i32 i32 i32 i32) (result i32)
unreachable
)
(func (;26;) (type 6))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
(processed-by "my-fake-bindgen" "123.45")
)
)
(core module (;1;)
(type (;0;) (func (param i32)))
(type (;1;) (func (param i32 i32) (result i32)))
(type (;2;) (func (param i32 i32)))
(type (;3;) (func (param i32)))
(table (;0;) 7 7 funcref)
(export "0" (func $indirect-cm32p2-f))
(export "1" (func $"indirect-cm32p2|ns:pkg/i@0.2-[constructor]r"))
(export "2" (func $"indirect-cm32p2|ns:pkg/i@0.2-[method]r.m"))
(export "3" (func $"indirect-cm32p2|j-[constructor]r"))
(export "4" (func $"indirect-cm32p2|j-[method]r.m"))
(export "5" (func $dtor-r))
(export "6" (func $"#func6 dtor-r"))
(export "$imports" (table 0))
(func $indirect-cm32p2-f (;0;) (type 0) (param i32)
local.get 0
i32.const 0
call_indirect (type 0)
)
(func $"indirect-cm32p2|ns:pkg/i@0.2-[constructor]r" (;1;) (type 1) (param i32 i32) (result i32)
local.get 0
local.get 1
i32.const 1
call_indirect (type 1)
)
(func $"indirect-cm32p2|ns:pkg/i@0.2-[method]r.m" (;2;) (type 2) (param i32 i32)
local.get 0
local.get 1
i32.const 2
call_indirect (type 2)
)
(func $"indirect-cm32p2|j-[constructor]r" (;3;) (type 1) (param i32 i32) (result i32)
local.get 0
local.get 1
i32.const 3
call_indirect (type 1)
)
(func $"indirect-cm32p2|j-[method]r.m" (;4;) (type 2) (param i32 i32)
local.get 0
local.get 1
i32.const 4
call_indirect (type 2)
)
(func $dtor-r (;5;) (type 3) (param i32)
local.get 0
i32.const 5
call_indirect (type 3)
)
(func $"#func6 dtor-r" (@name "dtor-r") (;6;) (type 3) (param i32)
local.get 0
i32.const 6
call_indirect (type 3)
)
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)
(core module (;2;)
(type (;0;) (func (param i32)))
(type (;1;) (func (param i32 i32) (result i32)))
(type (;2;) (func (param i32 i32)))
(type (;3;) (func (param i32)))
(import "" "0" (func (;0;) (type 0)))
(import "" "1" (func (;1;) (type 1)))
(import "" "2" (func (;2;) (type 2)))
(import "" "3" (func (;3;) (type 1)))
(import "" "4" (func (;4;) (type 2)))
(import "" "5" (func (;5;) (type 3)))
(import "" "6" (func (;6;) (type 3)))
(import "" "$imports" (table (;0;) 7 7 funcref))
(elem (;0;) (i32.const 0) func 0 1 2 3 4 5 6)
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)
(core instance (;0;) (instantiate 1))
(alias core export 0 "5" (core func (;0;)))
(type (;3;) (resource (rep i32) (dtor (func 0))))
(alias core export 0 "6" (core func (;1;)))
(type (;4;) (resource (rep i32) (dtor (func 1))))
(alias core export 0 "0" (core func (;2;)))
(core instance (;1;)
(export "f" (func 2))
)
(alias core export 0 "1" (core func (;3;)))
(alias core export 0 "2" (core func (;4;)))
(alias export 0 "frob" (func (;1;)))
(core func (;5;) (canon lower (func 1)))
(alias export 0 "r" (type (;5;)))
(core func (;6;) (canon resource.drop 5))
(core instance (;2;)
(export "[constructor]r" (func 3))
(export "[method]r.m" (func 4))
(export "frob" (func 5))
(export "r_drop" (func 6))
)
(alias core export 0 "3" (core func (;7;)))
(alias core export 0 "4" (core func (;8;)))
(alias export 1 "frob" (func (;2;)))
(core func (;9;) (canon lower (func 2)))
(alias export 1 "r" (type (;6;)))
(core func (;10;) (canon resource.drop 6))
(core instance (;3;)
(export "[constructor]r" (func 7))
(export "[method]r.m" (func 8))
(export "frob" (func 9))
(export "r_drop" (func 10))
)
(core func (;11;) (canon resource.drop 3))
(core func (;12;) (canon resource.new 3))
(core func (;13;) (canon resource.rep 3))
(core instance (;4;)
(export "r_drop" (func 11))
(export "r_new" (func 12))
(export "r_rep" (func 13))
)
(core func (;14;) (canon resource.drop 4))
(core func (;15;) (canon resource.new 4))
(core func (;16;) (canon resource.rep 4))
(core instance (;5;)
(export "r_drop" (func 14))
(export "r_new" (func 15))
(export "r_rep" (func 16))
)
(core instance (;6;) (instantiate 0
(with "cm32p2" (instance 1))
(with "cm32p2|ns:pkg/i@0.2" (instance 2))
(with "cm32p2|j" (instance 3))
(with "cm32p2|_ex_ns:pkg/i@0.2" (instance 4))
(with "cm32p2|_ex_j" (instance 5))
)
)
(alias core export 6 "cm32p2_memory" (core memory (;0;)))
(alias core export 0 "$imports" (core table (;0;)))
(alias core export 6 "cm32p2_realloc" (core func (;17;)))
(core func (;18;) (canon lower (func 0) (memory 0) (realloc 17) string-encoding=utf8))
(alias export 0 "[constructor]r" (func (;3;)))
(core func (;19;) (canon lower (func 3) (memory 0) string-encoding=utf8))
(alias export 0 "[method]r.m" (func (;4;)))
(core func (;20;) (canon lower (func 4) (memory 0) (realloc 17) string-encoding=utf8))
(alias export 1 "[constructor]r" (func (;5;)))
(core func (;21;) (canon lower (func 5) (memory 0) string-encoding=utf8))
(alias export 1 "[method]r.m" (func (;6;)))
(core func (;22;) (canon lower (func 6) (memory 0) (realloc 17) string-encoding=utf8))
(alias core export 6 "cm32p2|ns:pkg/i@0.2|r_dtor" (core func (;23;)))
(alias core export 6 "cm32p2|j|r_dtor" (core func (;24;)))
(core instance (;7;)
(export "$imports" (table 0))
(export "0" (func 18))
(export "1" (func 19))
(export "2" (func 20))
(export "3" (func 21))
(export "4" (func 22))
(export "5" (func 23))
(export "6" (func 24))
)
(core instance (;8;) (instantiate 2
(with "" (instance 7))
)
)
(alias core export 6 "cm32p2_initialize" (core func (;25;)))
(core module (;3;)
(type (;0;) (func))
(import "" "" (func (;0;) (type 0)))
(start 0)
)
(core instance (;9;)
(export "" (func 25))
)
(core instance (;10;) (instantiate 3
(with "" (instance 9))
)
)
(alias core export 6 "cm32p2||g" (core func (;26;)))
(alias core export 6 "cm32p2||g_post" (core func (;27;)))
(func (;7;) (type 2) (canon lift (core func 26) (memory 0) string-encoding=utf8 (post-return 27)))
(export (;8;) "g" (func 7))
(type (;7;) (own 3))
(type (;8;) (func (param "s" string) (result 7)))
(alias core export 6 "cm32p2|ns:pkg/i@0.2|[constructor]r" (core func (;28;)))
(func (;9;) (type 8) (canon lift (core func 28) (memory 0) (realloc 17) string-encoding=utf8))
(type (;9;) (borrow 3))
(type (;10;) (func (param "self" 9) (result string)))
(alias core export 6 "cm32p2|ns:pkg/i@0.2|[method]r.m" (core func (;29;)))
(func (;10;) (type 10) (canon lift (core func 29) (memory 0) string-encoding=utf8))
(type (;11;) (func (param "in" 7) (result 7)))
(alias core export 6 "cm32p2|ns:pkg/i@0.2|frob" (core func (;30;)))
(func (;11;) (type 11) (canon lift (core func 30)))
(component (;0;)
(import "import-type-r" (type (;0;) (sub resource)))
(type (;1;) (own 0))
(type (;2;) (func (param "s" string) (result 1)))
(import "import-constructor-r" (func (;0;) (type 2)))
(type (;3;) (borrow 0))
(type (;4;) (func (param "self" 3) (result string)))
(import "import-method-r-m" (func (;1;) (type 4)))
(type (;5;) (func (param "in" 1) (result 1)))
(import "import-func-frob" (func (;2;) (type 5)))
(export (;6;) "r" (type 0))
(type (;7;) (own 6))
(type (;8;) (func (param "s" string) (result 7)))
(export (;3;) "[constructor]r" (func 0) (func (type 8)))
(type (;9;) (borrow 6))
(type (;10;) (func (param "self" 9) (result string)))
(export (;4;) "[method]r.m" (func 1) (func (type 10)))
(type (;11;) (func (param "in" 7) (result 7)))
(export (;5;) "frob" (func 2) (func (type 11)))
)
(instance (;2;) (instantiate 0
(with "import-constructor-r" (func 9))
(with "import-method-r-m" (func 10))
(with "import-func-frob" (func 11))
(with "import-type-r" (type 3))
)
)
(export (;3;) "ns:pkg/i@0.2.1" (instance 2))
(type (;12;) (own 4))
(type (;13;) (func (param "s" string) (result 12)))
(alias core export 6 "cm32p2|j|[constructor]r" (core func (;31;)))
(func (;12;) (type 13) (canon lift (core func 31) (memory 0) (realloc 17) string-encoding=utf8))
(type (;14;) (borrow 4))
(type (;15;) (func (param "self" 14) (result string)))
(alias core export 6 "cm32p2|j|[method]r.m" (core func (;32;)))
(func (;13;) (type 15) (canon lift (core func 32) (memory 0) string-encoding=utf8))
(type (;16;) (func (param "in" 12) (result 12)))
(alias core export 6 "cm32p2|j|frob" (core func (;33;)))
(func (;14;) (type 16) (canon lift (core func 33)))
(component (;1;)
(import "import-type-r" (type (;0;) (sub resource)))
(type (;1;) (own 0))
(type (;2;) (func (param "s" string) (result 1)))
(import "import-constructor-r" (func (;0;) (type 2)))
(type (;3;) (borrow 0))
(type (;4;) (func (param "self" 3) (result string)))
(import "import-method-r-m" (func (;1;) (type 4)))
(type (;5;) (func (param "in" 1) (result 1)))
(import "import-func-frob" (func (;2;) (type 5)))
(export (;6;) "r" (type 0))
(type (;7;) (own 6))
(type (;8;) (func (param "s" string) (result 7)))
(export (;3;) "[constructor]r" (func 0) (func (type 8)))
(type (;9;) (borrow 6))
(type (;10;) (func (param "self" 9) (result string)))
(export (;4;) "[method]r.m" (func 1) (func (type 10)))
(type (;11;) (func (param "in" 7) (result 7)))
(export (;5;) "frob" (func 2) (func (type 11)))
)
(instance (;4;) (instantiate 1
(with "import-constructor-r" (func 12))
(with "import-method-r-m" (func 13))
(with "import-func-frob" (func 14))
(with "import-type-r" (type 4))
)
)
(export (;5;) "j" (instance 4))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)
|