Closed alexcrichton closed 1 year ago
I'll also note that I'm in the process of implementing these changes. Current work is:
With regards to the ESM integration, it would be great to handle this in this PR as well since those behaviours do need to be worked out as part of this. My suggestion would be a note along the lines of the following bullet points:
Ok I'm going to go ahead and merge this, if at least to have the current spec reflect what's implemented now in tooling. I talked with @lukewagner and he'll update Explainer.md
shortly afterwards and I think any further minor updates can happen in subsequent PRs. Thanks all for the discussion here!
@alexcrichton if I had known that the ESM integration upgrade wasn't going to be made in this PR I likely wouldn't have approved it. There are not "further minor updates" but fundamental details of the model that we cannot ignore.
ESM-integration updates aren't "minor", but I do think this and other language integrations questions can be done as follow-ups without changing what's in the AST and binary, so it's a good idea to merge now and iterate forward. I'll be working to update some other parts of Explainer.md shortly.
This is an update to
WIT.md
and a minor update toBinary.md
to reflect the changes discussed in #193. Lots more discussion is in the issue, and a summary of the changes is:use
statements are almost entirely replaced. Oldpkg
andself
-style paths are all gone.externname
binary format production has been updated to either be a kebab-name or an "ID". The URL field has been dropped.