File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1318,9 +1318,10 @@ for all m : core:module and ct : componenttype:
1318
1318
One consequence of this is that the canonical ` core:moduletype ` must encode
1319
1319
enough high-level type information for ` lift-canonical-module ` to be able to
1320
1320
reconstruct a working component. This is achieved using [ name mangling] . Unlike
1321
- traditional C-family name mangling, which uses unreadable, space-efficient
1322
- mangling schemes to support millions of * internal* names, the Canonical ABI
1323
- only needs to mangle * external* names, of which there will only be a handful.
1321
+ traditional C-family name mangling, which have a limited character set imposed
1322
+ by linkers and aim to be space-efficient enough to support millions of
1323
+ * internal* names, the Canonical ABI can use any valid UTF-8 string and only
1324
+ needs to mangle * external* names, of which there will only be a handful.
1324
1325
Therefore, squeezing out every byte is a lower concern and so, for simplicity
1325
1326
and readability, type information is mangled using a subset of the
1326
1327
[ ` wit ` ] ( WIT.md ) syntax.
You can’t perform that action at this time.
0 commit comments