You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note**: Guest applications require a specific build configuration. Create a `.cargo/config.toml` file in your guest project with the following content:
131
+
132
+
```toml
133
+
[build]
134
+
target = "x86_64-unknown-none"
135
+
136
+
[target.x86_64-unknown-none]
137
+
rustflags = [
138
+
"-C",
139
+
"code-model=small",
140
+
"-C",
141
+
"link-args=-e entrypoint",
142
+
]
143
+
linker = "rust-lld"
144
+
145
+
[profile.release]
146
+
panic = "abort"
147
+
148
+
[profile.dev]
149
+
panic = "abort"
150
+
```
151
+
130
152
For additional examples of using the Hyperlight host Rust library, see
131
153
the [./src/hyperlight_host/examples](./src/hyperlight_host/examples) directory.
0 commit comments