Skip to content

Commit 9dd747f

Browse files
committed
Update hyperlight ref
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 9c1a1bc commit 9dd747f

File tree

7 files changed

+32
-16
lines changed

7 files changed

+32
-16
lines changed

Cargo.lock

Lines changed: 20 additions & 4 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", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f", default-features = false, features = ["executable_heap", "init-paging"] }
16+
hyperlight-host = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "894f5feac31d2c798fee9f4c800e2391cec61995", 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 = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f" }
61+
hyperlight-component-macro = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "894f5feac31d2c798fee9f4c800e2391cec61995" }
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.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", git = "https://github.com/hyperlight-dev/hyperlight", rev = "ea6fa8f" }
20+
hyperlight-component-util = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "894f5feac31d2c798fee9f4c800e2391cec61995" }

src/wasm_runtime/Cargo.lock

Lines changed: 4 additions & 4 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", 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" }
14+
hyperlight-common = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "894f5feac31d2c798fee9f4c800e2391cec61995", default-features = false }
15+
hyperlight-guest-bin = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "894f5feac31d2c798fee9f4c800e2391cec61995", features = [ "printf" ] }
16+
hyperlight-guest = { version = "0.7.0", git = "https://github.com/hyperlight-dev/hyperlight", rev = "894f5feac31d2c798fee9f4c800e2391cec61995" }
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"

src/wasm_runtime/src/platform.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub(crate) fn register_page_fault_handler() {
5959
// See AMD64 Architecture Programmer's Manual, Volume 2
6060
// §8.2 Vectors, p. 245
6161
// Table 8-1: Interrupt Vector Source and Cause
62-
handler::handlers[14].store(page_fault_handler as usize as u64, Ordering::Release);
62+
handler::HANDLERS[14].store(page_fault_handler as usize as u64, Ordering::Release);
6363
}
6464

6565
// Wasmtime Embedding Interface
@@ -155,7 +155,7 @@ pub extern "C" fn wasmtime_init_traps(handler: wasmtime_trap_handler_t) -> i32 {
155155
// See AMD64 Architecture Programmer's Manual, Volume 2
156156
// §8.2 Vectors, p. 245
157157
// Table 8-1: Interrupt Vector Source and Cause
158-
handler::handlers[6].store(wasmtime_trap_handler as usize as u64, Ordering::Release);
158+
handler::HANDLERS[6].store(wasmtime_trap_handler as usize as u64, Ordering::Release);
159159
// TODO: Add handlers for any other traps that wasmtime needs,
160160
// probably including at least some floating-point
161161
// exceptions

0 commit comments

Comments
 (0)