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

Merge 5.0 release candidate into main #5149

Merged
merged 296 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
296 commits
Select commit Hold shift + click to select a range
b680dcb
[skip ci] ignore `memory.grow` calls for "wasm-c-api"
xdoardo Mar 25, 2024
1e62816
Merge remote-tracking branch 'origin/main' into wamr
xdoardo May 24, 2024
90e0564
fix(api): change mode of lib.rs
xdoardo May 24, 2024
07d1d45
fix(api): Re-set sys as default feature
xdoardo May 24, 2024
a6456cb
Merge remote-tracking branch 'origin/main' into wamr
xdoardo May 24, 2024
a60fc94
fix(api): Add ToExtern for `jsc`
xdoardo May 24, 2024
19e6a70
fix(api): Add ToExtern for `js`
xdoardo May 24, 2024
ae803f6
chore(api): Make linter happy
xdoardo May 24, 2024
b48dd87
Use wamr from main branch
xdoardo May 27, 2024
425c2cb
feat(api): Update WAMR
xdoardo May 27, 2024
f2148f4
feat: Add top level feature for the CLI
xdoardo May 27, 2024
e370b08
fix(api/interpreter): make linter happy
xdoardo May 27, 2024
5ea85f5
fix(api/ci): universal_test -> test
xdoardo May 27, 2024
0f4b827
feat(cli): Initial support for WAMR
xdoardo May 28, 2024
f2ec6e6
feat(api/interpreter): make functions, globals and tables externals s…
xdoardo May 30, 2024
24b14c2
chore(api/interpreter): formatting and minor changes
xdoardo May 30, 2024
394d30d
feat(api/interpreter): Embed the store in a module handle and pass it…
xdoardo May 30, 2024
0db2f83
feat(api/interpreter): Small fixes
xdoardo Jun 3, 2024
48dee36
feat(api/interpreter): Change the default sharedness of memory
xdoardo Jun 3, 2024
4eec88a
feat(c-api): Initial interpreter support
xdoardo Jun 3, 2024
ceb8cc6
feat(cli/interpreter): Add interpreter info in version
xdoardo Jun 3, 2024
9f9b3cc
fix(wasmer-c-api): Remove referencese to wamr from the wasmer-c-api c…
xdoardo Jun 5, 2024
8345717
feat(api/interpreter/wamr): Compile with debinfo if build type is debug
xdoardo Jun 6, 2024
b63eaa5
feat(wasmer-swift): Initial commit
xdoardo Jun 6, 2024
9e7ff6c
chore(api/wamr): Make linter happy
xdoardo Jun 6, 2024
c2c7a77
fix(wasmer-swift): Remove env-logger dependency
xdoardo Jun 6, 2024
286f679
fix: Exclude `wasmer-swift` from linting + various config fixes
xdoardo Jun 7, 2024
4b59f93
fix: Add wasmer-swift to excluded packages to test
xdoardo Jun 7, 2024
2bad5c3
fix(cli): Remove feature `wasm-c-api` in favour of feature `wamr` only
xdoardo Jun 7, 2024
19c9797
fix(wasmer-swift): Remove dependency on `wasmer-registry`
xdoardo Jun 7, 2024
430acf5
feat(interpreter/wamr): Use `wamr` flag as a "standalone" backend
xdoardo Jun 7, 2024
a25028f
feat(interpreter/wamr): Use `wamr` flag as a "standalone" backend
xdoardo Jun 7, 2024
6423ea9
Merge branch 'main' into wamr
xdoardo Jun 7, 2024
3370740
chore(cli): Make linter happy + small change
xdoardo Jun 7, 2024
e090bcb
fix(wasmer-swift): Remove unused dependencies
xdoardo Jun 7, 2024
80ef7c9
chore(wasmer-swift): Make linter happy
xdoardo Jun 7, 2024
522b311
fix(interpreter/wamr): Instantiate over concrete type, not reference
xdoardo Jun 10, 2024
0bf3305
Merge branch 'main' into wamr
xdoardo Jun 10, 2024
5d7fe11
fix(interpreter/wamr): Revert previous changes
xdoardo Jun 10, 2024
f18fd4e
feat(interpreter/wamr): First iteration of CI tests
xdoardo Jun 10, 2024
fadd27d
chore: Make linter happy
xdoardo Jun 10, 2024
61162ea
chore(api): Remove unused `raise` function
xdoardo Jun 11, 2024
266ce28
feat(api/interpreter): small cleanup and message amelioration
xdoardo Jun 13, 2024
a91e02c
feat(wamr/tests): Small changes to CLI CI tests
xdoardo Jun 13, 2024
8ab5cff
fix(interpreter/ci): Further ameliorations to CI tests
xdoardo Jun 14, 2024
63319f6
feat(interpreter): Update the wamr ci tests to run only relevant tests
xdoardo Jun 14, 2024
357c713
fix(interpreter/ci): Restore use of stdout in `wasi_runner_on_disk`
xdoardo Jun 14, 2024
b2ad488
fix(interpreter/ci): Remove unused imports
xdoardo Jun 14, 2024
1339fe7
Merge branch 'main' into wamr
xdoardo Jun 14, 2024
59140df
chore(wasmer-swift): Bump `virtual-fs` version
xdoardo Jun 14, 2024
121bf7a
feat(docs): Add WAMR to docs
xdoardo Jun 14, 2024
491ac28
fix(docs): Minor changes to api crate README
xdoardo Jun 14, 2024
6ef8849
feat(docs): More info about the WAMR backend
xdoardo Jun 14, 2024
9cc0fd3
feat(wamr/test): Add new tests to wasmer (api) crate
xdoardo Jul 15, 2024
8046a87
Fix closures in WAMR
syrusakbary Jul 15, 2024
7a58cb7
fix(api/interpreter): Use handle to retrieve function environment + r…
xdoardo Aug 13, 2024
21c6112
fix(api/tests): Minor changes
xdoardo Aug 13, 2024
a26b6b6
Bump the versions
syrusakbary Nov 1, 2023
d510d81
Fixed most heap issues
syrusakbary Nov 2, 2023
aa92516
Fix compile_and_emit
syrusakbary Nov 2, 2023
4f38585
Fixed jumptable
syrusakbary Nov 2, 2023
2d1787f
Fixed heaps
syrusakbary Nov 2, 2023
dab05b1
Added heaps into FuncEnvironment
syrusakbary Nov 2, 2023
8b320c9
Trying to fix code_translator
syrusakbary Nov 2, 2023
4791a78
continue update
xdoardo Aug 19, 2024
1817cc9
chore: Remove leftover println and make linter happy
xdoardo Aug 19, 2024
d7b2b83
fix(cranelift): Partial fix to faulty tables
xdoardo Aug 19, 2024
5b94fa4
fix(cranelift): Fix indirect calls
xdoardo Aug 21, 2024
1ee96a2
fix(api/interpreter): Disable HW bounds checks and minor changes
xdoardo Aug 21, 2024
b399684
Merge branch 'main' into cranelift-update
xdoardo Aug 22, 2024
53e9fe7
feat(ci): update MSRV
xdoardo Aug 22, 2024
6caef2a
fix: Update MSRV in CI
xdoardo Aug 22, 2024
e0eac38
Merge branch 'main' into cranelift-update
xdoardo Aug 22, 2024
6b7cd68
fix: typo in workflow file
xdoardo Aug 22, 2024
d15e1f2
fix: Make linter happy
xdoardo Aug 22, 2024
25dd067
Merge branch 'cranelift-update' of https://github.com/wasmerio/wasmer…
xdoardo Aug 22, 2024
fd1457c
fix: enable `check_custom_tunables` test for all compilers
xdoardo Aug 22, 2024
bb187b9
fix(cranelift): Remove comments
xdoardo Aug 22, 2024
e7b7c8f
feat: Update and use workspace `gimli`
xdoardo Aug 22, 2024
2b9cf24
fix: use MSRV in CI for docs
xdoardo Aug 22, 2024
ca11e8d
fix: Use more recent nightly in doc tests
xdoardo Aug 22, 2024
aae8480
fix: allow static mutable references in traphandlers
xdoardo Aug 23, 2024
58b5bb7
fix: rename lint
xdoardo Sep 2, 2024
82eeeb0
fix(api/sys): Use unaligned `read/write` instead of direct raw accesses
xdoardo Sep 2, 2024
0affede
Merge branch 'main' into cranelift-update
xdoardo Sep 2, 2024
a4bd0dc
feat(api): Update WAT version
xdoardo Sep 6, 2024
5e2976c
feat(compiler): Update `wasmparser`
xdoardo Sep 6, 2024
d2e0bbc
Merge branch 'main' into cranelift-update
xdoardo Sep 6, 2024
0f3a7c2
fix: Make linter happy
xdoardo Sep 6, 2024
59addb3
feat(compiler): Use default features in `Validator`
xdoardo Sep 6, 2024
40b9b3a
fix(api): Use new `wasmparser` types
xdoardo Sep 6, 2024
e9d3c44
fix(api/js): revert `anyref` -> `funcref` for js
xdoardo Sep 6, 2024
d239622
fix(examples): Use updated keywords
xdoardo Sep 6, 2024
9586e86
fix(api/docs): Use updated keywords
xdoardo Sep 6, 2024
38951eb
fix(compiler): new `BinaryReader` in tests
xdoardo Sep 6, 2024
51a070e
fix(tests): Use updated keywords
xdoardo Sep 6, 2024
1caeaf9
fix(tests/wast): Use updated keywords
xdoardo Sep 6, 2024
134a8f0
fix(api): Use updated keywords
xdoardo Sep 6, 2024
37dc1a9
fix(singlepass): Typo in `TableGrow`
xdoardo Sep 9, 2024
cdbb13a
feat(api): Add a couple tests for ref types
xdoardo Sep 9, 2024
46fc763
fix(compiler): Use `default` features
xdoardo Sep 9, 2024
ad701df
fix(vm): Correctly initialize non-`FuncRef` tables
xdoardo Sep 9, 2024
3d89fb9
fix(tests): Update `wast`
xdoardo Sep 9, 2024
26e5905
Merge branch 'main' into cranelift-update
xdoardo Sep 9, 2024
1dd56cf
fix: update Cargo.lock
xdoardo Sep 9, 2024
e6a3528
fix: Remove leftover wast test
xdoardo Sep 10, 2024
426ad45
fix(api/tests): Fix a spurious error in api tests
xdoardo Sep 10, 2024
46704b1
fix(tests/compilers): `anyfunc` -> `funcref`
xdoardo Sep 10, 2024
a86fb8c
fix(api/js): Reset `anyfunc`
xdoardo Sep 10, 2024
7422755
feat(compiler/llvm): Update llvm to version 18
xdoardo Sep 13, 2024
b5ae183
Merge pull request #5019 from wasmerio/cranelift-update
syrusakbary Sep 18, 2024
8cc9947
Merge branch 'release-5.0' into wamr
xdoardo Sep 23, 2024
b080219
fix(wamr): Remove leftover `WASMER_WAMR` constant
xdoardo Sep 23, 2024
0885877
fix(swift): Use correct version of `virtual-fs`
xdoardo Sep 23, 2024
9e03ad7
fix(api): Minor fix
xdoardo Sep 23, 2024
b6aaf77
Update Cargo.lock
xdoardo Sep 23, 2024
29f27c0
fix: Make linter happy
xdoardo Sep 23, 2024
a630a47
fix(api/tests): Copy `outer_attrs` in `_js` tests
xdoardo Sep 23, 2024
bb07bf6
fix(api/tests): Ignore some tests with `js` feature
xdoardo Sep 23, 2024
b6e2ab3
Fix --entrypoint not working for WASI(X) modules
Arshia001 Sep 23, 2024
21787bb
Remove 'invoke' alias from --entrypoint, add separate --invoke arg fo…
Arshia001 Sep 24, 2024
3f8532f
fix(tests): Change LLVM urls
xdoardo Sep 13, 2024
2faa72b
fix(ci): Adapt to URLs, small changes
xdoardo Sep 24, 2024
7e7049d
fix `ENABLE_LLVM`
xdoardo Sep 24, 2024
5d95f18
fix(ci): Install LLVM in `wasi-fyi` and `docs`, install `zstd` in `ma…
xdoardo Sep 24, 2024
108a960
fix(compiler/llvm): disable invalid opt passes
xdoardo Sep 24, 2024
d3d80b9
fix(compiler/llvm): Remove `readonly` attribute
xdoardo Sep 24, 2024
3e6e602
Merge pull request #5110 from wasmerio/fix/invoke-arg-for-wasix-modul…
syrusakbary Sep 25, 2024
3105b7f
fix(ci): Use new LLVM
xdoardo Sep 24, 2024
a76f9b7
fix(ci): Typo in matrix.build for macOS
xdoardo Oct 3, 2024
5cc3a5d
fix(ci): Typo in action for macOS
xdoardo Oct 3, 2024
b43144a
fix(api/tests): Remove unuseful test
xdoardo Oct 3, 2024
c7b91b6
chore: Bump our MSRV to 1.79
xdoardo Oct 3, 2024
41bd384
feat(api/interpreter): Add experimental support for wasmi backend
xdoardo Oct 3, 2024
2c9ba42
feat(cli): Add experimental support for wasmi as a backend for the CLI
xdoardo Oct 3, 2024
68eebc6
feat(ci): Bump MSRV, test WAMR and wasmi
xdoardo Oct 3, 2024
4deb833
fix(ci): Change to single quotes
xdoardo Oct 3, 2024
d395b66
fix(ci): Add nextest
xdoardo Oct 3, 2024
7e62056
chore: Make linter happy
xdoardo Oct 3, 2024
303eda9
fix(ci): Minor changes, use `wasmerio`'s custom LLVM build
xdoardo Oct 4, 2024
7eb712e
Merge pull request #5086 from wasmerio/update-llvm
xdoardo Oct 4, 2024
3d2f120
chore: Make linter happy
xdoardo Oct 4, 2024
6366592
feat(ci): Add integration tests for the CLI (wasmi & WAMR)
xdoardo Oct 4, 2024
2468ba1
fix(ci): Bump MSRVC
xdoardo Oct 4, 2024
269d9e5
fix(ci): Update MSRV in docker image
xdoardo Oct 4, 2024
f00b184
fix(ci): Typo in `test_interpreter_api`
xdoardo Oct 4, 2024
ae385b6
chore: Make linter happy
xdoardo Oct 4, 2024
3b06c7b
feat(api/v8): Initial support for v8
xdoardo Oct 7, 2024
3a956cc
feat(cli): Add support for v8 backend
xdoardo Oct 7, 2024
a1ff713
fix(tests): Minor changes
xdoardo Oct 7, 2024
dc6138f
fix(tests): Add v8 feature for integration tests
xdoardo Oct 7, 2024
1224f11
feat(ci): Add make target to test v8 API and add it to CI
xdoardo Oct 7, 2024
187b961
chore(api): Clean up a bit the code to generate callbacks for v8
xdoardo Oct 9, 2024
dde52d7
fix(api): Make `seq-macro` dependency optional
xdoardo Oct 9, 2024
cbfc980
fix(api/imports): Remove spurious `eprintln` leftovers
xdoardo Oct 9, 2024
6fd0742
fix(api): Remove unuseful comments
xdoardo Oct 9, 2024
d4b43d6
fix(api): Remove duplicate `call` function in favour of a single one …
xdoardo Oct 9, 2024
9099ed5
feat: Bump MSRV to 1.81
xdoardo Oct 10, 2024
8e95936
Merge pull request #4515 from wasmerio/wamr
syrusakbary Oct 10, 2024
6890415
Merge branch 'release-5.0' into wasmi
xdoardo Oct 10, 2024
8fbf29a
Merge pull request #5129 from wasmerio/wasmi
syrusakbary Oct 10, 2024
8af03ff
Merge pull request #5138 from wasmerio/v8
syrusakbary Oct 10, 2024
7a20b8d
chore(vm): Make linter happy
xdoardo Oct 10, 2024
45939f0
feat: add reqwest to dev dependencies
xdoardo Oct 10, 2024
bcccb7e
feat(types): Upgrade rkyv
xdoardo Oct 10, 2024
53567cb
feat(virtual-net): Upgrade rkyv
xdoardo Oct 10, 2024
f5f22ae
feat(compiler): Upgrade rkyv
xdoardo Oct 10, 2024
bbb619c
feat(journal): Upgrade rkyv
xdoardo Oct 10, 2024
c2e25f7
feat(vm): Update indexmap
xdoardo Oct 10, 2024
924d366
feat: Add benchmark for `rkyv` speeds
xdoardo Oct 10, 2024
aecbbc1
Merge branch 'release-5.0' into update-rkyv
xdoardo Oct 10, 2024
b9c822c
fix(bench): rename rkyv benchmark
xdoardo Oct 11, 2024
5aba716
fix(tests): Rebuild `.wasmu` artifacts
xdoardo Oct 14, 2024
e436c26
fix(ci): Bump rust version in `Dockerfile`
xdoardo Oct 14, 2024
527a8e6
fix(api/build): Add `--recursive` to `build.rs`
xdoardo Oct 14, 2024
4a0f8eb
chore: Make linter happy
xdoardo Oct 14, 2024
0e6219c
fix(types): Bump `CURRENT_VERSION` in `MetadataHeader`
xdoardo Oct 14, 2024
12f175a
chore: Make linter happy
xdoardo Oct 14, 2024
0b0aea6
fix(ci/linux-riscv64): Install correct rust toolchain
xdoardo Oct 14, 2024
178b6f0
fix(api/build): Add v8 to `.gitmodules`
xdoardo Oct 14, 2024
d1d9494
fix(tests): Rebuild `.wasmu` artifacts
xdoardo Oct 14, 2024
90a9112
fix: Update yanked crates
xdoardo Oct 14, 2024
8aeaccd
fix(api/build): Set different generator for `windows`
xdoardo Oct 14, 2024
8687f07
fix(ci): Try using VS generator in windows
xdoardo Oct 14, 2024
6b2794c
fix(ci): Install MSVC in windows
xdoardo Oct 14, 2024
eea3e78
fix(ci): Change cmake directory in windows
xdoardo Oct 14, 2024
9a1e6e9
fix(ci): Update bindgen and activate v8 tests
xdoardo Oct 14, 2024
9542f7c
chore: Update Cargo.lock
xdoardo Oct 14, 2024
77357e2
fix(ci): Fix typo
xdoardo Oct 14, 2024
e9b3b24
fix(api/build): Don't use `Ninja` as generator
xdoardo Oct 14, 2024
086c283
fix(api): Remove explicit `u32` when converting values from `c_api` i…
xdoardo Oct 14, 2024
b86e582
fix(api): Remove more explicit `u32` when converting values from `c_a…
xdoardo Oct 14, 2024
60bdc1e
fix(api/build): Link `stdc++` on linux
xdoardo Oct 15, 2024
3022875
fix(ci): Use `Ninja` as generator
xdoardo Oct 15, 2024
9c80e59
fix(ci): Typo in `matrix.metadata.build`
xdoardo Oct 15, 2024
8135c23
fix(ci): Install `ninja` when building docs
xdoardo Oct 15, 2024
9edc115
fix(ci): Revert previous change on `api` for windows, install `ninja`…
xdoardo Oct 15, 2024
f9393cf
fix(ci): Link with `stdc++` on windows as well
xdoardo Oct 15, 2024
b63b43d
fix(ci): Update build script
xdoardo Oct 15, 2024
1a6d111
fix(ci): Use Ninja
xdoardo Oct 15, 2024
5ac7dbf
Merge pull request #5142 from wasmerio/update-rkyv
xdoardo Oct 15, 2024
5d5fa45
feat(api/build/v8): Use blob to build v8
xdoardo Oct 16, 2024
e52384a
fix(api/build/v8): link `winmm`, more verbosity
xdoardo Oct 16, 2024
259b6d8
fix(api/build/v8): Use `wasmerio` artifacts for wee8
xdoardo Oct 16, 2024
c1c1fc5
fix(build): Setup MSVC before downloading rust
xdoardo Oct 16, 2024
d213b5a
fix(build): Reimplement the `link.exe` hack for windows
xdoardo Oct 16, 2024
878777e
fix(api/build/v8): Link more missing libs on windows
xdoardo Oct 16, 2024
8696f52
feat(api): Remove deprecated methods and types
xdoardo Oct 16, 2024
1d2ad33
chore: Make linter happy
xdoardo Oct 16, 2024
610b138
Merge pull request #5146 from wasmerio/wee8-use-blob
xdoardo Oct 16, 2024
b6570c3
feat(llvm): Make `BitOr` and `BitAnd` throw an error instead of panic
xdoardo Oct 16, 2024
3e8874d
fix(jsc): Use `copy` instead of `duplicate`
xdoardo Oct 16, 2024
6ade035
chore: Update yanked crate `critical-section`
xdoardo Oct 16, 2024
964e1dc
Merge pull request #5147 from wasmerio/llvm-throw
xdoardo Oct 16, 2024
36ebff7
Merge pull request #5148 from wasmerio/remove-deprecated
xdoardo Oct 16, 2024
4c1fede
Merge branch 'main' into release-5.0
xdoardo Oct 16, 2024
a0bc8c4
chore: Make linter happy
xdoardo Oct 16, 2024
2966992
fix(api): Temporarily disable flaky test on windows
xdoardo Oct 17, 2024
7d41088
feat(api/c_api): Initial support for tables in c_api
xdoardo Oct 17, 2024
8edd3b2
chore: Make linter happy
xdoardo Oct 17, 2024
fc885d0
fix(api/c_api): Use `ExternRef` instead of `AnyRef`, use `_paddings` …
xdoardo Oct 17, 2024
972cb38
fix(ci): bump MSRV
xdoardo Oct 17, 2024
50bda63
fix(ci): Run `apt-get update` and install `clang` on ubuntu
xdoardo Oct 17, 2024
26e0631
fix(api/c_api): Remove `user:` when displaying runtime errors
xdoardo Oct 17, 2024
e1fd71d
ci: Verbose build of wamr on linux
xdoardo Oct 17, 2024
a958850
ci: Verbose build of v8 on linux
xdoardo Oct 17, 2024
864cf91
Remove unused submodules
xdoardo Oct 17, 2024
221b790
fix(ci): Missing `not`
xdoardo Oct 17, 2024
152b807
fix(api/build): Statically link v8 on linux
xdoardo Oct 17, 2024
a5faa18
fix(ci): Build v8 tests normally
xdoardo Oct 17, 2024
04cb386
fix(api/build): Don't link `v8_initializers`
xdoardo Oct 17, 2024
c40a70d
fix(api/build): Link everything, use clang as linker
xdoardo Oct 17, 2024
bcb218d
fix(ci): Missing `not`
xdoardo Oct 17, 2024
e1e7c0c
fix(ci): Leftover test
xdoardo Oct 17, 2024
f51b3c0
fix(ci): use mold
xdoardo Oct 17, 2024
80916f0
chore: Make linter happy
xdoardo Oct 17, 2024
74fe146
fix(ci): Use mold
xdoardo Oct 17, 2024
1ae9ac3
fix(ci): Use mold and clang
xdoardo Oct 17, 2024
2d04cc2
fix(api/build/wamr): Explicitly disable `LIBC_UVWASI` on windows
xdoardo Oct 17, 2024
8e80dbd
fix(ci): Don't install unuseful `ninja` on macOS and windows
xdoardo Oct 17, 2024
c31675e
chore: Pin `cranelift` version
xdoardo Oct 17, 2024
0875b0f
chore: Remove unused modules
xdoardo Oct 17, 2024
9c651d5
fix(ci): Add ninja back
xdoardo Oct 17, 2024
93abeba
chore(api/tests/v8): Disable flaky test on windows
xdoardo Oct 17, 2024
93bbbbc
fix(ci): Use correct `download-artifact` version
xdoardo Oct 17, 2024
de8811c
ci: Temporarily disable CIFuzz
xdoardo Oct 17, 2024
8711f50
Trigger Build
xdoardo Oct 17, 2024
2c7c910
Trigger Build
xdoardo Oct 17, 2024
d445ea2
fix(ci): Use older naming, reinstate windows-gnu
xdoardo Oct 17, 2024
f4a25d1
Use ubuntu on target windows-gnu
xdoardo Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/cross-linux-riscv64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get update && \
# install rust tools
RUN curl --proto "=https" --tlsv1.2 --retry 3 -sSfL https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup -v toolchain install 1.74
RUN rustup -v toolchain install 1.81
# add docker the manual way
COPY install_docker.sh /
RUN /install_docker.sh
Expand Down Expand Up @@ -61,7 +61,7 @@ ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc
RUST_TEST_THREADS=1 \
PKG_CONFIG_PATH="/usr/lib/riscv64-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}"

RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.74-x86_64-unknown-linux-gnu
RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.81-x86_64-unknown-linux-gnu

#compile libssl-dev for riscv64!
COPY build_openssl.sh /
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.74"
MSRV: "1.79"

jobs:
run_benchmark:
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Builds
env:
RUST_BACKTRACE: 1
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.74"
MSRV: "1.79"

on:
push:
Expand Down Expand Up @@ -46,14 +46,14 @@ jobs:
- build: linux-x64
os: ubuntu-20.04
artifact_name: 'wasmer-linux-amd64'
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/15.x/llvm-linux-amd64.tar.xz'
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-linux-amd64.tar.xz'
cross_compilation_artifact_name: 'cross_compiled_from_linux'
use_sccache: false
use_llvm: true
build_wasm: true
- build: macos-x64
os: macos-12
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/15.x/llvm-darwin-amd64.tar.xz'
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-darwin-amd64.tar.xz'
artifact_name: 'wasmer-darwin-amd64'
cross_compilation_artifact_name: 'cross_compiled_from_mac'
use_sccache: false
Expand All @@ -66,18 +66,19 @@ jobs:
use_sccache: false
use_llvm: false
build_wasm: false
# [todo] xdoardo: Reinstate when the code we generate for aarch64 is working correctly.
# llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-darwin-aarch64.tar.xz'
- build: windows-x64
os: windows-2019
artifact_name: 'wasmer-windows-amd64'
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/15.x/llvm-windows-amd64.tar.xz'
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-windows-amd64.tar.xz'
cross_compilation_artifact_name: 'cross_compiled_from_win'
use_sccache: false
use_llvm: true
build_wasm: false
- build: linux-musl-x64
os: ubuntu-latest
artifact_name: 'wasmer-linux-musl-amd64'
#llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/15.x/llvm-linux-amd64.tar.xz'
container: alpine:latest
use_sccache: false
use_llvm: false
Expand Down Expand Up @@ -113,13 +114,16 @@ jobs:
echo "${LLVM_DIR}/bin" >> $GITHUB_PATH
env:
LLVM_DIR: .llvm
- name: Install MSVC dev-cmd (Windows)
uses: ilammy/msvc-dev-cmd@v1
if: ${{ matrix.metadata.build == 'windows-x64' }}
- name: Configure LLVM (Windows)
# The Custom Windows build does not contains llvm-config.exe, so need to setup manualy here
if: matrix.build == 'windows-x64' && matrix.llvm_url
shell: bash
run: |
LLVM_DIR=$(pwd)/${{ env.LLVM_DIR }}
echo LLVM_SYS_150_PREFIX="${LLVM_DIR}" >> $GITHUB_ENV
echo LLVM_SYS_180_PREFIX="${LLVM_DIR}" >> $GITHUB_ENV
echo LLVM_ENABLE=1 >> $GITHUB_ENV
env:
LLVM_DIR: .llvm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloudcompiler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release cloudcompiler.wasm

env:
RUST_BACKTRACE: 1
MSRV: "1.74"
MSRV: "1.79"

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'lib/**'

env:
MSRV: "1.74"
MSRV: "1.79"

jobs:
documentation:
Expand Down
Loading
Loading