Skip to content

Commit c198729

Browse files
committed
use macros in simpleguest
Signed-off-by: Jorge Prendes <[email protected]>
1 parent dce9c25 commit c198729

File tree

4 files changed

+413
-1108
lines changed

4 files changed

+413
-1108
lines changed

src/tests/rust_guests/simpleguest/.cargo/config.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ target = "x86_64-unknown-none"
33

44
[target.x86_64-unknown-none]
55
rustflags = [
6-
"-C",
7-
"code-model=small",
8-
"-C",
9-
"link-args=-e entrypoint",
6+
"-Ccode-model=small",
7+
"-Clink-args=-e entrypoint",
8+
"-Clink-arg=-znostart-stop-gc",
109
]
1110
linker = "rust-lld"
1211

src/tests/rust_guests/simpleguest/Cargo.lock

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

src/tests/rust_guests/simpleguest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
hyperlight-guest = { path = "../../../hyperlight_guest" }
8-
hyperlight-guest-bin = { path = "../../../hyperlight_guest_bin" }
8+
hyperlight-guest-bin = { path = "../../../hyperlight_guest_bin", features = ["macros"] }
99
hyperlight-common = { path = "../../../hyperlight_common", default-features = false }
1010
hyperlight-guest-tracing = { path = "../../../hyperlight_guest_tracing" }
1111
log = {version = "0.4", default-features = false }

0 commit comments

Comments
 (0)