Skip to content

Commit 012ca91

Browse files
committed
MAINT: updated Cargo files: no refs to teaclave
1 parent d95aa1f commit 012ca91

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

enclave/safetrace/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
SGX_SDK ?= $(HOME)/.sgxsdk/sgxsdk
2222

2323
# The path to the incubator-teaclave-sgx-sdk code.
24-
# SGX_SDK_RUST ?= ../incubator-teaclave-sgx-sdk/
25-
2624
SGX_SDK_RUST ?= $(HOME)/sgx
2725

2826

enclave/safetrace/app/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,3 @@ rmp-serde = "0.14.0"
2323
rustc-hex = "1.0.0"
2424
lazy_static = "1.3.0"
2525
log = "0.4.6"
26-
27-
28-
[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
29-
sgx_types = { path = "../../incubator-teaclave-sgx-sdk/sgx_types" }
30-
sgx_urts = { path = "../../incubator-teaclave-sgx-sdk/sgx_urts" }

enclave/safetrace/enclave/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ enigma-tools-t = { git = "https://github.com/enigmampc/enigma-core.git", branch=
1818
enigma-tools-m = { git = "https://github.com/enigmampc/enigma-core.git", branch="develop", default-features = false, features = ["sgx"] }
1919
enigma-runtime-t = { git = "https://github.com/enigmampc/enigma-core.git", branch="develop" }
2020

21-
# rustc-hex = { version = "2.0", default-features = false }
2221
serde = { git = "https://github.com/mesalock-linux/serde-sgx.git", rev = "sgx_1.0.9", features=["serde_derive"] }
2322
serde_json = { git = "https://github.com/enigmampc/serde-json-sgx.git", rev = "1.0.39-sgx-1.0.9" }
2423
rmp-serde = {git = "https://github.com/enigmampc/msgpack-rust.git", rev = "0.14.0-sgx-1.0.9" }
25-
26-
# serde_cbor = { git = "https://github.com/mesalock-linux/cbor-sgx.git", rev = "sgx_1.0.9", default-features = false, features=["mesalock_sgx"] }
2724
lazy_static = {version = "1.4.0", features = ["spin_no_std"] }
2825

2926
sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git", rev = "v1.0.9" }

enclave/safetrace/enclave/src/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub const DATAFILE: &str = "data.sealed";
2222
pub const TOVERLAP: i32 = 300; // 5min * 60s minimum overlap
2323
pub const DISTANCE: f64 = 10.0; // in meters
2424
pub const EARTH_RADIUS: f64 = 6371000.0; // in meters
25-
pub const SEAL_LOG_SIZE: usize = 4096; // Maximum data can seal in bytes -> match
25+
pub const SEAL_LOG_SIZE: usize = 4096; // Maximum data can seal in bytes -> smaller than "HeapMaxSize" in Enclave.config.xml
2626

2727

2828
pub enum Error {

0 commit comments

Comments
 (0)