Skip to content

Commit b8876c4

Browse files
committed
feat!: Upgrade to Binaryen v122
1 parent a1bc951 commit b8876c4

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

.github/workflows/opam.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
with:
2626
submodules: "recursive"
27-
27+
2828
- name: Setup node.js
2929
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
3030
with:
@@ -36,13 +36,6 @@ jobs:
3636
with:
3737
ocaml-compiler: ${{ matrix.ocaml-compiler }}
3838

39-
# Necessary until using libbinaryen v122
40-
- name: Override C Compiler Flags For Windows
41-
if: ${{ startsWith(matrix.os, 'windows-') }}
42-
run: |
43-
echo "CC=x86_64-w64-mingw32-gcc" | Out-File -FilePath $env:GITHUB_ENV -Append
44-
echo "CXX=x86_64-w64-mingw32-g++" | Out-File -FilePath $env:GITHUB_ENV -Append
45-
4639
- name: Install local dependencies
4740
run: |
4841
opam install . --deps-only --with-test

binaryen.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ depends: [
1616
"dune" {>= "3.0.0"}
1717
"dune-configurator" {>= "3.0.0"}
1818
"js_of_ocaml-compiler" {>= "6.0.0" < "7.0.0"}
19-
"libbinaryen" {> "121.0.0" < "122.0.0"}
19+
"libbinaryen" {>= "122.0.0" < "123.0.0"}
2020
]

esy.lock/index.json

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache-2.0",
77
"dependencies": {
88
"ocaml": ">= 4.13.0 < 5.4.0",
9-
"@grain/libbinaryen": "121.0.0-b",
9+
"@grain/libbinaryen": ">= 122.0.0 < 123.0.0",
1010
"@opam/dune": ">= 3.0.0",
1111
"@opam/dune-configurator": ">= 3.0.0"
1212
},

0 commit comments

Comments
 (0)