Skip to content

feat(go): add map type support#1583

Open
yordis wants to merge 2 commits intobytecodealliance:mainfrom
yordis:yordis/feat-map-support-2
Open

feat(go): add map type support#1583
yordis wants to merge 2 commits intobytecodealliance:mainfrom
yordis:yordis/feat-map-support-2

Conversation

@yordis
Copy link
Copy Markdown
Contributor

@yordis yordis commented Apr 10, 2026

No description provided.

@yordis yordis changed the title Go: add map type support feat(go): add map type support Apr 10, 2026
&bindings_dir.join("go.mod"),
format!(
"module wit_component\n\ngo 1.25\n\nreplace go.bytecodealliance.org => {}",
"module wit_component\n\ngo 1.25\n\nreplace go.bytecodealliance.org/pkg => {}",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

related to #1548

As far as I can tell, it suppose to be /pkg?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Seems reasonable, but I wonder how the tests have been passing so far without that. @asteurer might have ideas.

@yordis yordis marked this pull request as ready for review April 10, 2026 15:38
@alexcrichton alexcrichton requested a review from dicej April 10, 2026 21:07
@alexcrichton
Copy link
Copy Markdown
Member

cc @asteurer, you might have thoughts on this too

Copy link
Copy Markdown
Collaborator

@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.

LGTM, thanks!

&bindings_dir.join("go.mod"),
format!(
"module wit_component\n\ngo 1.25\n\nreplace go.bytecodealliance.org => {}",
"module wit_component\n\ngo 1.25\n\nreplace go.bytecodealliance.org/pkg => {}",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Seems reasonable, but I wonder how the tests have been passing so far without that. @asteurer might have ideas.

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.

3 participants