Skip to content

Conversation

@asteurer
Copy link

@asteurer asteurer commented Feb 7, 2026

This PR has two commits:

  • Commit 22baf34 shows the wit-bindgen packages as they are currently
  • Commit 2a6ad2c shows the actual code changes required to migrate from wit-bindgen to go-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.

@asteurer asteurer requested a review from ricochet February 7, 2026 03:36
Copy link

@dicej dicej left a 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" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants