Skip to content

Commit 8b40213

Browse files
committed
Add git dependencies on hyperlight for development
The core hyperlight libraries now have both version and git keys in Cargo.toml, allowing us to develop against upstream hyperlight HEAD. Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
1 parent cc28306 commit 8b40213

7 files changed

Lines changed: 87 additions & 42 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ repository = "https://github.com/hyperlight-dev/hyperlight-wasm"
1313
readme = "README.md"
1414

1515
[workspace.dependencies]
16-
hyperlight-host = { version = "0.7.0", default-features = false, features = ["executable_heap", "init-paging"] }
16+
hyperlight-host = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f", default-features = false, features = ["executable_heap", "init-paging"] }

src/hyperlight_wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ windows = { version = "0.61", features = ["Win32_System_Threading"] }
5858
page_size = "0.6.0"
5959

6060
[dev-dependencies]
61-
hyperlight-component-macro = "0.7.0"
61+
hyperlight-component-macro = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f" }
6262
examples_common = { path = "../examples_common" }
6363
criterion = { version = "0.6.0", features = ["html_reports"] }
6464
crossbeam-queue = "0.3"

src/hyperlight_wasm_macro/Cargo.lock

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

src/hyperlight_wasm_macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ proc-macro2 = { version = "1.0.93" }
1717
syn = { version = "2.0.96" }
1818
itertools = { version = "0.14.0" }
1919
prettyplease = { version = "0.2.31" }
20-
hyperlight-component-util = { version = "0.7.0" }
20+
hyperlight-component-util = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f" }

src/wasm_runtime/Cargo.lock

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

src/wasm_runtime/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ doctest = false
1111
bench = false
1212

1313
[dependencies]
14-
hyperlight-common = { version = "0.7.0", default-features = false }
15-
hyperlight-guest-bin = { version = "0.7.0", features = [ "printf" ] }
16-
hyperlight-guest = { version = "0.7.0" }
14+
hyperlight-common = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f", default-features = false }
15+
hyperlight-guest-bin = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f", features = [ "printf" ] }
16+
hyperlight-guest = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f" }
1717
wasmtime = { version = "34.0.1", default-features = false, features = [ "runtime", "custom-virtual-memory", "custom-native-signals", "component-model" ] }
1818
hyperlight-wasm-macro = { path = "../hyperlight_wasm_macro" }
1919
spin = "0.9.8"

0 commit comments

Comments
 (0)