Skip to content

Commit 259e3ea

Browse files
committed
merging fortanix-vme related crates in the main workspace
1 parent 287db84 commit 259e3ea

File tree

10 files changed

+182
-289
lines changed

10 files changed

+182
-289
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[workspace]
22
members = [
3+
"fortanix-vme/fortanix-vme-abi",
4+
"fortanix-vme/fortanix-vme-runner",
5+
"fortanix-vme/tests/outgoing_connection",
36
"intel-sgx/aesm-client",
47
"intel-sgx/dcap-provider",
58
"intel-sgx/dcap-ql-sys",
@@ -8,13 +11,20 @@ members = [
811
"intel-sgx/enclave-runner",
912
"intel-sgx/fortanix-sgx-abi",
1013
"intel-sgx/fortanix-sgx-tools",
11-
"ipc-queue",
1214
"intel-sgx/report-test",
13-
"rs-libc",
1415
"intel-sgx/sgxs",
1516
"intel-sgx/sgx-isa",
1617
"intel-sgx/sgx-pkix",
1718
"intel-sgx/sgxs-loaders",
18-
"intel-sgx/sgxs-tools"
19+
"intel-sgx/sgxs-tools",
20+
"ipc-queue",
21+
"rs-libc",
1922
]
2023
exclude = ["examples"]
24+
25+
[patch.crates-io]
26+
libc = { git = "https://github.com/fortanix/libc.git", branch = "fortanixvme" }
27+
serde = { git = "https://github.com/raoulstrackx/serde.git", branch = "raoul/stdlib" }
28+
serde_cbor = { git = "https://github.com/raoulstrackx/cbor.git", branch = "raoul/stdlib" }
29+
nix_22 = { git = "https://github.com/raoulstrackx/nix.git", branch = "raoul/fortanixvme_r0.22.4", package = "nix" }
30+
vsock = { git = "https://github.com/raoulstrackx/vsock-rs.git", branch = "raoul/fortanixvme" }

fortanix-vme/Cargo.lock

Lines changed: 0 additions & 226 deletions
This file was deleted.

fortanix-vme/Cargo.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.

fortanix-vme/ci-fortanixvme.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ function setup_environment {
1919
}
2020

2121
function test_runner {
22-
pushd enclave-runner
22+
pushd fortanix-vme-runner
2323
cargo +${toolchain_version} test
2424
popd
2525
}
2626

2727
function start_runner {
28-
pushd enclave-runner
28+
pushd fortanix-vme-runner
2929
cargo +${toolchain_version} run &
3030
pid_runner=$!
3131
popd

fortanix-vme/enclave-runner/Cargo.toml renamed to fortanix-vme/fortanix-vme-runner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "enclave-runner"
2+
name = "fortanix-vme-runner"
33
version = "0.1.0"
44
edition = "2018"
55
authors = ["Fortanix, Inc."]
File renamed without changes.

fortanix-vme/enclave-runner/src/main.rs renamed to fortanix-vme/fortanix-vme-runner/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use enclave_runner::server::Server;
1+
use fortanix_vme_runner::server::Server;
22
use fortanix_vme_abi::SERVER_PORT;
33

44
fn main() {
File renamed without changes.

fortanix-vme/enclave-runner/tests/enclave-runner.rs renamed to fortanix-vme/fortanix-vme-runner/tests/enclave-runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use enclave_runner::server::Server;
1+
use fortanix_vme_runner::server::Server;
22
use fortanix_vme_abi;
33
use std::io::Write;
44
use vsock::Std;

0 commit comments

Comments
 (0)