Commit 236e9ad
committed
wip(component): begin re-enabling component model support
This commit starts the work to re-enable component model support, which is
the main target for the runtime.
Changes made:
1. Fixed missing store instructions (0x3A-0x3E) - COMPLETED ✓
2. Enabled component model imports in wrtd
3. Updated execute_component to use decode_component
4. Added component-model dependencies to Cargo.toml
5. Fixed 2 syntax errors in wrt-component
Status:
- Store instructions: COMPLETE - WASI-NN example now works
- Component model: IN PROGRESS - wrt-component has ~160 syntax errors to fix
Remaining work for component model:
- Fix remaining syntax errors in wrt-component crate
- Test component decoding with actual component files
- Implement component execution beyond just decoding
The store instruction fix alone unlocks WASI modules and real-world applications.
Component model support will follow once wrt-component issues are resolved.1 parent c8527a1 commit 236e9ad
File tree
4 files changed
+43
-19
lines changed- wrt-component/src
- async_
- resources
- wrtd
- src
4 files changed
+43
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
| 989 | + | |
990 | 990 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
| |||
451 | 450 | | |
452 | 451 | | |
453 | 452 | | |
454 | | - | |
| 453 | + | |
455 | 454 | | |
456 | 455 | | |
457 | 456 | | |
458 | 457 | | |
459 | | - | |
460 | | - | |
461 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
462 | 490 | | |
463 | 491 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | 492 | | |
469 | 493 | | |
470 | 494 | | |
| |||
0 commit comments