Commit 702de6d
committed
fix(rust): restore
`cabi_realloc` was switched to only be added for `p1` targets instead of
not being added for `p2` targets. This causes modules built with
`wasm32-unknown-unknown` and then enriched into a component with
`wasm-tools component new` to fail.
Signed-off-by: Scott Andrews <scott@andrews.me>cabi_realloc for wasm32-unknown-unknown
1 parent 0781ccd commit 702de6d
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments