-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor how
error-context.*
intrinsics are imported (#2067)
This commit refactors the `wit-component` conventions used to import `error-context.*` intrinsics. The first change is to drop the `realloc` option on the `error-context.debug-message` intrinsic in favor of inferring that from the "general purpose import realloc" option. This avoids the need to name a symbol and enables generally relying on there being a single option for this. The second change is to change how `encoding=` is specified and bake it directly into the name instead of having a url-scheme-like encoding with multiple options. This is in theory the only option necessary for these intrinsics so it's possible to have a static set of a few names that might be chosen.
- Loading branch information
1 parent
53d1e22
commit 90545d4
Showing
4 changed files
with
137 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.