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 rkyv #5142

Merged
merged 39 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
9099ed5
feat: Bump MSRV to 1.81
xdoardo 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
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/cross-linux-riscv64/Dockerfile
Original file line number Diff line number Diff line change
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.79-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
158 changes: 93 additions & 65 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,8 @@ hyper = "1"
reqwest = { version = "0.12.0", default-features = false }
enumset = "1.1.0"
memoffset = "0.9.0"
wasmparser = { version = "0.216.0", default-features = false, features = [
"validate",
] }
rkyv = { version = "0.7.40", features = ["indexmap", "validation", "strict"] }
wasmparser = { version = "0.216.0", default-features = false, features = ["validate"]}
rkyv = {version = "0.8.8", features = ["indexmap-2", "bytes-1"]}
memmap2 = { version = "0.6.2" }
toml = { version = "0.5.9", features = ["preserve_order"] }
indexmap = "2"
Expand Down Expand Up @@ -147,6 +145,7 @@ tracing-subscriber = { version = "0.3", default-features = false, features = [
"env-filter",
"fmt",
] }
reqwest.workspace = true

[features]
# Don't add the compiler features in default, please add them on the Makefile
Expand Down Expand Up @@ -220,6 +219,10 @@ opt-level = 3
[profile.dev.package.digest]
opt-level = 3

[[bench]]
name = "deserialize_modules"
harness = false

[[bench]]
name = "static_and_dynamic_functions"
harness = false
Expand Down
Loading
Loading