Skip to content
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

Build/wasmer 5 bump #126

Merged
merged 8 commits into from
Nov 27, 2024
Merged

Build/wasmer 5 bump #126

merged 8 commits into from
Nov 27, 2024

Conversation

mattyg
Copy link
Member

@mattyg mattyg commented Nov 8, 2024

Resolves #121

  • Update wasmer to 5.0.2
  • Remove hc-wasmer fork dependency
  • Tweak nix derivation to support building with flags wasmer_sys_prod and wasmer_wamr on wasmer 5.x

@mattyg mattyg changed the title Build/wasmer 5 bump wip Build/wasmer 5 bump Nov 11, 2024
@mattyg mattyg changed the title wip Build/wasmer 5 bump Build/wasmer 5 bump Nov 26, 2024
@mattyg mattyg requested a review from a team November 26, 2024 00:02
Copy link
Contributor

@jost-s jost-s left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ThetaSinner ThetaSinner left a comment

Choose a reason for hiding this comment

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

Changes look great, thank you for dealing with the wasmer-prod nix/CI changes :)

Just one question about pinning but that's not a blocker


# Temporarily include a fork of wasmer from the git branch 'wamr', until it is officially released in wasmer v5
hc-wasmer = { version="=4.3.6-hc.1", optional = true, default-features = false }
wasmer = { version = "5.0.2", default-features = false }
Copy link
Member

Choose a reason for hiding this comment

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

Should this stay pinned? Really depends how good we think wasmer are at managing breaking changes

Copy link
Member Author

Choose a reason for hiding this comment

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

It looks like we've been pinning the wasmer version since the first release of this crate (when wasmer versioning was at 0.x). I'm not sure what the rationale was, but it doesn't look like it was in response to a specific case where wasmer broke semver.

Idk maybe we should remove the pin and re-add it if there is an issue

@mattyg mattyg merged commit b7eb114 into main Nov 27, 2024
13 checks passed
@mattyg mattyg deleted the build/wasmer-5-bump branch November 27, 2024 04:35
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.

Bump wasmer to 5.x when released
3 participants