Skip to content

Commit ea1162e

Browse files
committed
Fix v1.0.8 support
1 parent 09b6c22 commit ea1162e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sgx/gbdt-sgx-test/enclave/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ default = []
1414
gbdt_sgx = { path = "../../gbdt-sgx", default-features = false, features = ["mesalock_sgx", "input", "enable_training"] }
1515

1616
[target.'cfg(not(target_env = "sgx"))'.dependencies]
17-
sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
18-
sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
19-
sgx_tunittest = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
17+
sgx_types = { rev = "v1.0.8", git = "https://github.com/baidu/rust-sgx-sdk.git" }
18+
sgx_tstd = { rev = "v1.0.8", git = "https://github.com/baidu/rust-sgx-sdk.git" }
19+
sgx_tunittest = { rev = "v1.0.8", git = "https://github.com/baidu/rust-sgx-sdk.git" }

sgx/gbdt-sgx/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ serde_json = { git = "https://github.com/mesalock-linux/serde-json-sgx.git" }
2929
rand={ version = "0.6", optional = true, git = "https://github.com/mesalock-linux/rand-sgx.git" }
3030
regex = { version = "1", git = "https://github.com/mesalock-linux/regex-sgx", optional = true }
3131
time = { version = "0.1", optional = true }
32-
sgx_tstd = { version = "1.0", git = "https://github.com/baidu/rust-sgx-sdk.git", optional = true }
32+
sgx_tstd = { rev = "v1.0.8", git = "https://github.com/baidu/rust-sgx-sdk.git", optional = true }
3333
cfg-if = "0.1"
3434

3535
[dev-dependencies]

0 commit comments

Comments
 (0)