Commit 31c5811
authored
Explicitly disallow 64-bit/shared memories/tables in components (#1970)
These proposals are not specified how they work with the canonical ABI
just yet. Previously the proposals were not enabled by default so their
off-by-default status largely gated their usage in components but with
memory64 now being on-by-default it's possible to have components using
64-bit linear memories. More care will be needed to update components
and tooling for 64-bit linear memories so for now an error is added to
reject it saying that support is not added yet.1 parent 34c5c39 commit 31c5811
File tree
5 files changed
+104
-6
lines changed- crates/wasmparser/src/validator
- tests
- local/component-model
- snapshots/local/component-model
5 files changed
+104
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2970 | 2970 | | |
2971 | 2971 | | |
2972 | 2972 | | |
2973 | | - | |
2974 | 2973 | | |
2975 | 2974 | | |
2976 | 2975 | | |
| |||
2992 | 2991 | | |
2993 | 2992 | | |
2994 | 2993 | | |
2995 | | - | |
| 2994 | + | |
2996 | 2995 | | |
2997 | 2996 | | |
2998 | 2997 | | |
| |||
3002 | 3001 | | |
3003 | 3002 | | |
3004 | 3003 | | |
3005 | | - | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
3006 | 3019 | | |
3007 | 3020 | | |
3008 | 3021 | | |
| |||
3012 | 3025 | | |
3013 | 3026 | | |
3014 | 3027 | | |
3015 | | - | |
| 3028 | + | |
| 3029 | + | |
| 3030 | + | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
3016 | 3043 | | |
3017 | 3044 | | |
3018 | 3045 | | |
| |||
3022 | 3049 | | |
3023 | 3050 | | |
3024 | 3051 | | |
3025 | | - | |
| 3052 | + | |
3026 | 3053 | | |
3027 | 3054 | | |
3028 | 3055 | | |
| |||
3032 | 3059 | | |
3033 | 3060 | | |
3034 | 3061 | | |
3035 | | - | |
| 3062 | + | |
3036 | 3063 | | |
3037 | 3064 | | |
| 3065 | + | |
| 3066 | + | |
3038 | 3067 | | |
3039 | 3068 | | |
3040 | 3069 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
17 | 31 | | |
18 | 32 | | |
19 | 33 | | |
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments