Commit 758c729
authored
Fix a list length calculation in FACT-generated adapters (#12882)
This fixes a calculation when the source memory and destination memory
have different pointer sizes. A typo meant that the destination byte
length used the source byte length by accident instead of the source
length. This isn't actually reachable at all in wasm today because
memory64 isn't available at this time for components. FACT was
originally written with memory64 support, however, to be a bit more
future-proof and the component model may be getting memory64 support
soon. For now though there's no test for this, just a minor update.1 parent 5d52f56 commit 758c729
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2564 | 2564 | | |
2565 | 2565 | | |
2566 | 2566 | | |
2567 | | - | |
| 2567 | + | |
2568 | 2568 | | |
2569 | 2569 | | |
2570 | 2570 | | |
| |||
0 commit comments