Skip to content

Commit dbf2a48

Browse files
authored
3i works with Enarx in SGX (#8)
1 parent 7b1cf4b commit dbf2a48

File tree

5 files changed

+250
-65
lines changed

5 files changed

+250
-65
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ wasmtime-lind-multi-process = { path = "../lind-wasm/src/wasmtime/crates/lind-mu
235235
wasmtime-lind-utils = { path = "../lind-wasm/src/wasmtime/crates/lind-utils" }
236236
wasmtime-wasi-threads = { path = "../lind-wasm/src/wasmtime/crates/wasi-threads" }
237237
rawposix = { path = "../lind-wasm/src/wasmtime/crates/rawposix" }
238+
cage = { path = "../lind-wasm/src/wasmtime/crates/cage" }
239+
threei = { path = "../lind-wasm/src/wasmtime/crates/threei" }
238240
cap-std = { version = "3.4.2", default-features = false }
239241
io-lifetimes = { version = "2.0.4", default-features = false }
240242
rustix = { version = "0.38.44", features = ["std"], default-features = false }

Enarx.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
args = [
2-
"hello"
2+
"hello.c",
3+
"-o",
4+
"hello-3i",
35
]

crates/exec-wasmtime/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ wasmtime-lind-common = { workspace = true }
4343
wasmtime-lind-multi-process = { workspace = true }
4444
wasmtime-lind-utils = { workspace = true }
4545
rawposix = { workspace = true }
46+
threei = { workspace = true }
47+
cage = { workspace = true }
4648
wasmtime-wasi-threads = { workspace = true }
4749

4850
[target.'cfg(windows)'.dependencies]

0 commit comments

Comments
 (0)