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

Upgrade wasm-opt to 0.111.0 #331

Merged
merged 2 commits into from
Jan 4, 2023
Merged

Upgrade wasm-opt to 0.111.0 #331

merged 2 commits into from
Jan 4, 2023

Conversation

brson
Copy link
Contributor

@brson brson commented Jan 1, 2023

What

This upgrades binaryen to version 111.

Binaryen (and wasm-opt) now enables the SignExt and MutableGlobals features by default, which are also enabled in the LLVM backend. In the future Binaryen will align its default feature selection with the LLVM backend.

This is probably is ok for soroban - wasmi supports both these.

This also points to potential future optimizations by explicitly turning on more features that wasmi supports but that aren't enabled in wasm-opt by default.

The changelog for 0.111.0.

Why

Just upgrading deps.

Known limitations

N/A

Copy link
Contributor

@tsachiherman tsachiherman left a comment

Choose a reason for hiding this comment

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

I'm not opposing to this one, but wondering if we have a similar dependency that might use a different version. @leighmcculloch ?

Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

Thanks! This sounds good to me!

@leighmcculloch leighmcculloch enabled auto-merge (squash) January 4, 2023 17:57
@leighmcculloch
Copy link
Member

wondering if we have a similar dependency that might use a different version. @leighmcculloch ?

@tsachiherman There shouldn't be a consistency issue with upgrading here. I don't think we use wasm-opt elsewhere.

@leighmcculloch leighmcculloch merged commit 5104097 into stellar:main Jan 4, 2023
chadoh added a commit to AhaLabs/stellar-cli that referenced this pull request Jan 9, 2023
* main:
  Bump version to 0.4.0 (stellar#337)
  soroban-cli: update rust dependencies (stellar#334)
  Disable optional features in wasm-opt (stellar#335)
  update go monorepo deps (stellar#326)
  Upgrade wasm-opt to 0.111.0 (stellar#331)
  fix per linter's feedback. (stellar#327)
chadoh added a commit to AhaLabs/stellar-cli that referenced this pull request Jan 12, 2023
* main:
  feat(CI): add git hooks and improve tests to calculate file hash first (stellar#321)
  feat: reorganize CLI under new subcommands (stellar#319)
  soroban-rpc: Add tx xdr, meta, and result xdr to getTransactionStatus (stellar#317)
  Simplify how topic matching works in RPC & CLI (stellar#324)
  integration testing: fix "unable to find commit hash" during tests (stellar#338)
  Bump version to 0.4.0 (stellar#337)
  soroban-cli: update rust dependencies (stellar#334)
  Disable optional features in wasm-opt (stellar#335)
  update go monorepo deps (stellar#326)
  Upgrade wasm-opt to 0.111.0 (stellar#331)
  fix per linter's feedback. (stellar#327)
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