Skip to content

Commit c340b50

Browse files
Prepare for new release (#421)
* Prepare for new release Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> * Update to 13.1 Signed-off-by: James Sturtevant <jsturtevant@gmail.com> --------- Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> Signed-off-by: James Sturtevant <jsturtevant@gmail.com> Co-authored-by: James Sturtevant <jsturtevant@gmail.com>
1 parent ce32fce commit c340b50

5 files changed

Lines changed: 65 additions & 34 deletions

File tree

.github/workflows/CreateRelease.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,39 @@ jobs:
9494
if: ${{ contains(github.ref, 'refs/heads/release/') }}
9595
uses: rust-lang/crates-io-auth-action@v1
9696
id: crates-io-auth
97+
- name: Install cargo-overlay-registry
98+
if: ${{ contains(github.ref, 'refs/heads/release/') }}
99+
run: cargo install cargo-overlay-registry
100+
shell: bash
97101
- name: Publish dry-run
98102
if: ${{ contains(github.ref, 'refs/heads/release/') }}
99103
run: |
100104
set -euxo pipefail
101-
cargo publish -p hyperlight-wasm-aot --dry-run
102-
cargo publish -p hyperlight-wasm --dry-run
105+
rm -Rf ./target/package/tmp-registry
106+
cargo overlay-registry \
107+
-r crates-io \
108+
-r local=./target/package/tmp-registry \
109+
-- \
110+
cargo +1.92 publish --dry-run \
111+
-p hyperlight-wasm-aot \
112+
-p hyperlight-wasm-macro \
113+
-p hyperlight-wasm-runtime \
114+
-p hyperlight-wasm
103115
shell: bash
104116
- name: Publish to crates.io
105117
if: ${{ contains(github.ref, 'refs/heads/release/') }}
106118
run: |
107119
set -euxo pipefail
108-
cargo publish -p hyperlight-wasm-aot
109-
cargo publish -p hyperlight-wasm
120+
rm -Rf ./target/package/tmp-registry
121+
cargo overlay-registry \
122+
-r crates-io \
123+
-r local=./target/package/tmp-registry \
124+
-- \
125+
cargo +1.92 publish \
126+
-p hyperlight-wasm-aot \
127+
-p hyperlight-wasm-macro \
128+
-p hyperlight-wasm-runtime \
129+
-p hyperlight-wasm
110130
env:
111131
CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}
112132
shell: bash

Cargo.lock

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

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude = [ "src/tests/rust_guests/rust_wasm_samples", "src/tests/rust_guests/co
44
resolver = "2"
55

66
[workspace.package]
7-
version = "0.13.0"
7+
version = "0.13.1"
88
edition = "2024"
99
rust-version = "1.89"
1010
license = "Apache-2.0"
@@ -13,11 +13,11 @@ repository = "https://github.com/hyperlight-dev/hyperlight-wasm"
1313
readme = "README.md"
1414

1515
[workspace.dependencies]
16-
hyperlight-common = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "c9a1a4cefce6a085af92e375121e9f1b1c8deeec", default-features = false }
17-
hyperlight-component-macro = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "c9a1a4cefce6a085af92e375121e9f1b1c8deeec" }
18-
hyperlight-component-util = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "c9a1a4cefce6a085af92e375121e9f1b1c8deeec" }
19-
hyperlight-guest = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "c9a1a4cefce6a085af92e375121e9f1b1c8deeec" }
20-
hyperlight-guest-bin = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "c9a1a4cefce6a085af92e375121e9f1b1c8deeec", features = [ "printf" ] }
21-
hyperlight-host = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "c9a1a4cefce6a085af92e375121e9f1b1c8deeec", default-features = false, features = ["executable_heap"] }
22-
hyperlight-wasm-macro = { version = "0.13.0", path = "src/hyperlight_wasm_macro" }
23-
hyperlight-wasm-runtime = { version = "0.13.0", path = "src/hyperlight_wasm_runtime" }
16+
hyperlight-common = { version = "0.13.1", default-features = false }
17+
hyperlight-component-macro = { version = "0.13.1" }
18+
hyperlight-component-util = { version = "0.13.1" }
19+
hyperlight-guest = { version = "0.13.1" }
20+
hyperlight-guest-bin = { version = "0.13.1", features = [ "printf" ] }
21+
hyperlight-host = { version = "0.13.1", default-features = false, features = ["executable_heap"] }
22+
hyperlight-wasm-macro = { version = "0.13.1", path = "src/hyperlight_wasm_macro" }
23+
hyperlight-wasm-runtime = { version = "0.13.1", path = "src/hyperlight_wasm_runtime" }

src/hyperlight_wasm/src/sandbox/wasm_sandbox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl WasmSandbox {
8787
.as_mut()
8888
.ok_or_else(|| new_error!("WasmSandbox is None"))?;
8989

90-
if let Ok(len) = inner.map_file_cow(file.as_ref(), MAPPED_BINARY_VA) {
90+
if let Ok(len) = inner.map_file_cow(file.as_ref(), MAPPED_BINARY_VA, None) {
9191
inner.call::<()>("LoadWasmModulePhys", (MAPPED_BINARY_VA, len))?;
9292
} else {
9393
let wasm_bytes = std::fs::read(file)?;

src/hyperlight_wasm_runtime/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ homepage.workspace = true
77
repository.workspace = true
88
readme.workspace = true
99
edition = "2021"
10+
description = """
11+
hyperlight-wasm-runtime is a rust binary crate that provides the WebAssembly runtime binary for hyperlight-wasm.
12+
"""
1013

1114
[lib]
1215
test = false

0 commit comments

Comments
 (0)