Skip to content

Commit 55697c5

Browse files
committed
Port to sgx 1.1.3
1 parent 590d29a commit 55697c5

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.drone.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: rand-sgx-xargo-1604-release
33

44
steps:
55
- name: release-compile
6-
image: baiduxlab/sgx-rust:1604-1.1.2
6+
image: baiduxlab/sgx-rust:1604-1.1.3
77
commands:
88
- . /opt/sgxsdk/environment
99
- . /root/.cargo/env
@@ -16,7 +16,7 @@ name: rand-sgx-xargo-1604-debug
1616

1717
steps:
1818
- name: debug-compile
19-
image: baiduxlab/sgx-rust:1604-1.1.2
19+
image: baiduxlab/sgx-rust:1604-1.1.3
2020
commands:
2121
- . /opt/sgxsdk/environment
2222
- . /root/.cargo/env
@@ -29,7 +29,7 @@ name: rand-sgx-xargo-1804-release
2929

3030
steps:
3131
- name: release-compile
32-
image: baiduxlab/sgx-rust:1804-1.1.2
32+
image: baiduxlab/sgx-rust:1804-1.1.3
3333
commands:
3434
- . /opt/sgxsdk/environment
3535
- . /root/.cargo/env
@@ -42,7 +42,7 @@ name: rand-sgx-xargo-1804-debug
4242

4343
steps:
4444
- name: debug-compile
45-
image: baiduxlab/sgx-rust:1804-1.1.2
45+
image: baiduxlab/sgx-rust:1804-1.1.3
4646
commands:
4747
- . /opt/sgxsdk/environment
4848
- . /root/.cargo/env
@@ -55,7 +55,7 @@ name: rand-sgx-1604-release
5555

5656
steps:
5757
- name: release-compile
58-
image: baiduxlab/sgx-rust:1604-1.1.2
58+
image: baiduxlab/sgx-rust:1604-1.1.3
5959
commands:
6060
- . /opt/sgxsdk/environment
6161
- . /root/.cargo/env
@@ -68,7 +68,7 @@ name: rand-sgx-1604-hw-debug
6868

6969
steps:
7070
- name: debug-compile
71-
image: baiduxlab/sgx-rust:1604-1.1.2
71+
image: baiduxlab/sgx-rust:1604-1.1.3
7272
commands:
7373
- . /opt/sgxsdk/environment
7474
- . /root/.cargo/env
@@ -81,7 +81,7 @@ name: rand-sgx-1804-release
8181

8282
steps:
8383
- name: release-compile
84-
image: baiduxlab/sgx-rust:1804-1.1.2
84+
image: baiduxlab/sgx-rust:1804-1.1.3
8585
commands:
8686
- . /opt/sgxsdk/environment
8787
- . /root/.cargo/env
@@ -94,7 +94,7 @@ name: rand-sgx-1804-debug
9494

9595
steps:
9696
- name: debug-compile
97-
image: baiduxlab/sgx-rust:1804-1.1.2
97+
image: baiduxlab/sgx-rust:1804-1.1.3
9898
commands:
9999
- . /opt/sgxsdk/environment
100100
- . /root/.cargo/env

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ rand_pcg = { path = "rand_pcg", version = "0.2", optional = true }
5959
# This is renamed because: we need getrandom to depend on rand_core/getrandom
6060
getrandom_package = { git = "https://github.com/mesalock-linux/getrandom-sgx", package = "getrandom", optional = true }
6161
log = { git = "https://github.com/mesalock-linux/log-sgx", optional = true }
62-
sgx_tstd = { version = "1.0", rev = "v1.1.2", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
62+
sgx_tstd = { version = "1.0", rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
6363

6464
[dependencies.packed_simd]
6565
# NOTE: so far no version works reliably due to dependence on unstable features

rand_chacha/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ appveyor = { repository = "rust-random/rand" }
2121
[dependencies]
2222
rand_core = { path = "../rand_core", version = "0.5" }
2323
c2-chacha = { git = "https://github.com/mesalock-linux/cryptocorrosion-sgx" }
24-
sgx_tstd = { rev = "v1.1.2", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
24+
sgx_tstd = { rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
2525

2626
[features]
2727
default = ["std", "simd", "mesalock_sgx"]

rand_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mesalock_sgx = ["alloc", "sgx_tstd"]
2727
[dependencies]
2828
serde = { git = "https://github.com/mesalock-linux/serde-sgx", features = ["derive"], optional = true }
2929
getrandom = { git = "https://github.com/mesalock-linux/getrandom-sgx", optional = true }
30-
sgx_tstd = { rev = "v1.1.2", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
30+
sgx_tstd = { rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
3131

3232
[package.metadata.docs.rs]
3333
all-features = true

rand_distr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mesalock_sgx = ["sgx_tstd"]
2424

2525
[dependencies]
2626
rand = { path = "..", version = "0.7" }
27-
sgx_tstd = { version = "1.0", rev = "v1.1.2", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
27+
sgx_tstd = { version = "1.0", rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
2828

2929
[dev-dependencies]
3030
rand_pcg = { version = "0.2", path = "../rand_pcg" }

0 commit comments

Comments
 (0)