Skip to content

Commit 7404543

Browse files
committed
Patch hyperlight component util 0.15
1 parent acb0ae6 commit 7404543

4 files changed

Lines changed: 21 additions & 10 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,8 @@ hyperlight-host = { version = "0.14.0" }
3737
hyperlight-component-util = { git = "https://github.com/jsturtevant/hyperlight-1", rev="cdbed80af127b4d74e2633511cadb07bfea0160e", package = "hyperlight-component-util" }
3838

3939
[patch.crates-io]
40-
hyperlight-component-util = { git = "https://github.com/jsturtevant/hyperlight-1", rev="cdbed80af127b4d74e2633511cadb07bfea0160e", package = "hyperlight-component-util" }
40+
# Keep the patched 0.14 util available for crates that still depend on it.
41+
hyperlight-component-util-014 = { package = "hyperlight-component-util", git = "https://github.com/jsturtevant/hyperlight-1", rev="cdbed80af127b4d74e2633511cadb07bfea0160e" }
42+
# hyperlight-component-macro 0.15 depends on util 0.15, but the published
43+
# util is missing the bindgen fixes this workspace relies on.
44+
hyperlight-component-util = { path = "patches/hyperlight-component-util-0.15" }
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "hyperlight-component-util"
3+
version = "0.15.0"
4+
edition = "2024"
5+
rust-version = "1.89"
6+
license = "Apache-2.0"
7+
description = "Compatibility shim for the patched Hyperlight component util used by this workspace"
8+
publish = false
9+
10+
[lib]
11+
name = "hyperlight_component_util"
12+
13+
[dependencies]
14+
hyperlight-component-util-compat = { package = "hyperlight-component-util", git = "https://github.com/jsturtevant/hyperlight-1", rev = "cdbed80af127b4d74e2633511cadb07bfea0160e" }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub use hyperlight_component_util_compat::*;

0 commit comments

Comments
 (0)