-
Notifications
You must be signed in to change notification settings - Fork 1
feat: migrate from wit-bindgen to go-pkg #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Andrew Steurer <[email protected]>
Signed-off-by: Andrew Steurer <[email protected]>
dicej
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @asteurer. I'll admit I still don't know the rules governing go-import meta elements (and can't seem to find any official documentation about them), so my inline suggestions may or may not be relevant. I suppose we'll just need to test everything using go get to be sure we've got it right.
| <head> | ||
| <title>go.bytecodealliance.org/cmd</title> | ||
| <!-- Legacy: for now, the cmd package stays in go-modules --> | ||
| <meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" /> | |
| <meta name="go-import" content="go.bytecodealliance.org/cmd git https://github.com/bytecodealliance/go-modules" /> |
| <head> | ||
| <title>go.bytecodealliance.org/wit</title> | ||
| <!-- Legacy: wit package stays in go-modules --> | ||
| <meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" /> | |
| <meta name="go-import" content="go.bytecodealliance.org/wit git https://github.com/bytecodealliance/go-modules" /> |
| <head> | ||
| <title>go.bytecodealliance.org/x</title> | ||
| <!-- Legacy: for now, the x package stays in go-modules --> | ||
| <meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" /> | |
| <meta name="go-import" content="go.bytecodealliance.org/x git https://github.com/bytecodealliance/go-modules" /> |
| # Overview | ||
|
|
||
| Starter template for Bytecode Alliance repositories. | ||
| TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A sentence or two about why this repository exists could be a good start here.
This PR has two commits:
22baf34shows the wit-bindgen packages as they are currently2a6ad2cshows the actual code changes required to migrate fromwit-bindgentogo-pkg.Hopefully this makes review a little easier.
Additionally, I have a working fork of wit-bindgen that has this commit checked in as a submodule.