Skip to content

Commit bfa4fea

Browse files
committed
Use upstream hyperlight crates
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 258ed7e commit bfa4fea

5 files changed

Lines changed: 21 additions & 44 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name = "hyperlight-wasm-http-example"
33
edition = "2024"
44

55
[dependencies]
6-
hyperlight-component-macro = { git="https://github.com/hyperlight-dev/hyperlight.git", rev="b7e0481ad1086481da3e7795b4733a7683ba80c8" }
7-
hyperlight-common = { git="https://github.com/hyperlight-dev/hyperlight.git", rev="b7e0481ad1086481da3e7795b4733a7683ba80c8" }
8-
hyperlight-host = { git="https://github.com/hyperlight-dev/hyperlight.git", rev="b7e0481ad1086481da3e7795b4733a7683ba80c8", default-features = false, features = [ "kvm", "mshv2" ] }
9-
hyperlight-wasm = { git="https://github.com/jprendes/hyperlight-wasm.git", rev="6fde4c5cc5505051a9a76c05c40c5a214b543860" }
6+
hyperlight-component-macro = { version = "0.9.0" }
7+
hyperlight-common = { version = "0.9.0" }
8+
hyperlight-host = { version = "0.9.0", default-features = false, features = [ "kvm", "mshv2" ] }
9+
hyperlight-wasm = { version = "0.9.0" }
1010

1111
hyper = "1.7"
1212
reqwest = { version = "0.12", features = ["stream", "gzip", "brotli", "deflate", "rustls-tls", "blocking"] }

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you want to follow the manual build instructions, you will also need:
1616

1717
4. [`wasm-tools`](https://github.com/bytecodealliance/wasm-tools)
1818
5. [`cargo-component`](https://github.com/bytecodealliance/cargo-component)
19-
6. [`hyperlight-wasm-aot`](https://github.com/hyperlight-dev/hyperlight-wasm) from [this commit](https://github.com/jprendes/hyperlight-wasm/tree/6fde4c5cc5505051a9a76c05c40c5a214b543860)
19+
6. [`hyperlight-wasm-aot`](https://github.com/hyperlight-dev/hyperlight-wasm)
2020

2121
## Simple setup
2222

@@ -70,9 +70,7 @@ cargo component build --release \
7070
AOT compile it:
7171

7272
```sh
73-
cargo install hyperlight-wasm-aot \
74-
--git https://github.com/jprendes/hyperlight-wasm.git \
75-
--rev 6fde4c5cc
73+
cargo install hyperlight-wasm-aot
7674
hyperlight-wasm-aot compile --component \
7775
target/wasm32-wasip1/release/sample_wasi_http_rust.wasm \
7876
target/wasm32-wasip1/release/sample_wasi_http_rust.bin

bindings.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.

justfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ build-component: install-cargo-component
1818
install-hyperlight-wasm-aot:
1919
test -f {{ BIN_DIR }}/hyperlight-wasm-aot || \
2020
cargo install hyperlight-wasm-aot \
21-
--git https://github.com/jprendes/hyperlight-wasm.git \
22-
--rev 134d8fc355ef842ace918777a758349342241c9d \
2321
--root {{ TARGET_DIR }}
2422

2523
aot-component: build-component install-hyperlight-wasm-aot

0 commit comments

Comments
 (0)