Skip to content

Commit

Permalink
feat: support marine-rs-sdk 0.14 (#419)
Browse files Browse the repository at this point in the history
* uodate sdk

* add cp v3 test
  • Loading branch information
ValeryAntopol authored Feb 21, 2024
1 parent ead3c7d commit b20a27f
Show file tree
Hide file tree
Showing 42 changed files with 466 additions and 258 deletions.
128 changes: 102 additions & 26 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ members = [
"marine/tests/wasm_tests/call_parameters_v0",
"marine/tests/wasm_tests/call_parameters_v1",
"marine/tests/wasm_tests/call_parameters_v2",
"marine/tests/wasm_tests/call_parameters_v3",
"marine/tests/wasm_tests/memory_limiting",
"marine/tests/wasm_tests/records_passing",
"marine/tests/wasm_tests/wasi",
Expand Down
2 changes: 2 additions & 0 deletions core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub enum HostAPIVersion {
V0,
V1,
V2,
V3,
}

impl HostAPIVersion {
Expand All @@ -67,6 +68,7 @@ impl HostAPIVersion {
Self::V0 => "host",
Self::V1 => "__marine_host_api_v1",
Self::V2 => "__marine_host_api_v2",
Self::V3 => "__marine_host_api_v3",
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion core/tests/wasm_tests/lilo_after_2gb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ name = "lilo_after_2gb"
path = "src/pure.rs"

[dependencies]
marine-rs-sdk = "0.13.0"
marine-rs-sdk = "0.14.0"
safe-transmute = "0.11.0"
2 changes: 1 addition & 1 deletion crates/it-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ path = "src/lib.rs"

[dependencies]
marine-it-parser = { path = "../it-parser", version = "0.15.1" }
marine-macro-impl = "0.13.0"
marine-macro-impl = "0.14.0"

wasmer-it = { package = "wasmer-interface-types-fl", version = "0.27.0" }
it-lilo = "0.6.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/module-info-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "marine_module_info_parser"
path = "src/lib.rs"

[dependencies]
marine-rs-sdk-main = { version = "0.13.0", default-features = false }
marine-rs-sdk-main = { version = "0.14.0", default-features = false }

marine-wasm-backend-traits = { path = "../wasm-backend-traits", version = "0.5.1" }

Expand Down
Loading

0 comments on commit b20a27f

Please sign in to comment.