Commit af8b7cb
committed
fix(csharp): embed component type via binary WIT package
Earlier attempt used `NativeFileReference` on the component-type object,
but NativeAOT's LLVM pipeline did not propagate the custom section into
the final module, leaving every C# component import unresolvable. Using
a binary-encoded WIT package (which `wasm-component-ld --component-type`
accepts alongside the text form) preserves the existing linker path and
also lets map<K,V> round-trip since decoding skips the default WIT
parser that rejects gated features.
Signed-off-by: Yordis Prieto <[email protected]>1 parent 1388017 commit af8b7cb
2 files changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
839 | 838 | | |
840 | 839 | | |
841 | 840 | | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | 841 | | |
854 | | - | |
855 | | - | |
| 842 | + | |
| 843 | + | |
856 | 844 | | |
857 | 845 | | |
858 | 846 | | |
| |||
0 commit comments