Skip to content

Commit

Permalink
Port to sgx 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dingelish committed Nov 5, 2020
1 parent 590d29a commit 55697c5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: rand-sgx-xargo-1604-release

steps:
- name: release-compile
image: baiduxlab/sgx-rust:1604-1.1.2
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand All @@ -16,7 +16,7 @@ name: rand-sgx-xargo-1604-debug

steps:
- name: debug-compile
image: baiduxlab/sgx-rust:1604-1.1.2
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand All @@ -29,7 +29,7 @@ name: rand-sgx-xargo-1804-release

steps:
- name: release-compile
image: baiduxlab/sgx-rust:1804-1.1.2
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand All @@ -42,7 +42,7 @@ name: rand-sgx-xargo-1804-debug

steps:
- name: debug-compile
image: baiduxlab/sgx-rust:1804-1.1.2
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand All @@ -55,7 +55,7 @@ name: rand-sgx-1604-release

steps:
- name: release-compile
image: baiduxlab/sgx-rust:1604-1.1.2
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand All @@ -68,7 +68,7 @@ name: rand-sgx-1604-hw-debug

steps:
- name: debug-compile
image: baiduxlab/sgx-rust:1604-1.1.2
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand All @@ -81,7 +81,7 @@ name: rand-sgx-1804-release

steps:
- name: release-compile
image: baiduxlab/sgx-rust:1804-1.1.2
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand All @@ -94,7 +94,7 @@ name: rand-sgx-1804-debug

steps:
- name: debug-compile
image: baiduxlab/sgx-rust:1804-1.1.2
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ rand_pcg = { path = "rand_pcg", version = "0.2", optional = true }
# This is renamed because: we need getrandom to depend on rand_core/getrandom
getrandom_package = { git = "https://github.com/mesalock-linux/getrandom-sgx", package = "getrandom", optional = true }
log = { git = "https://github.com/mesalock-linux/log-sgx", optional = true }
sgx_tstd = { version = "1.0", rev = "v1.1.2", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
sgx_tstd = { version = "1.0", rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }

[dependencies.packed_simd]
# NOTE: so far no version works reliably due to dependence on unstable features
Expand Down
2 changes: 1 addition & 1 deletion rand_chacha/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ appveyor = { repository = "rust-random/rand" }
[dependencies]
rand_core = { path = "../rand_core", version = "0.5" }
c2-chacha = { git = "https://github.com/mesalock-linux/cryptocorrosion-sgx" }
sgx_tstd = { rev = "v1.1.2", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
sgx_tstd = { rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }

[features]
default = ["std", "simd", "mesalock_sgx"]
Expand Down
2 changes: 1 addition & 1 deletion rand_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mesalock_sgx = ["alloc", "sgx_tstd"]
[dependencies]
serde = { git = "https://github.com/mesalock-linux/serde-sgx", features = ["derive"], optional = true }
getrandom = { git = "https://github.com/mesalock-linux/getrandom-sgx", optional = true }
sgx_tstd = { rev = "v1.1.2", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
sgx_tstd = { rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion rand_distr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mesalock_sgx = ["sgx_tstd"]

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

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

0 comments on commit 55697c5

Please sign in to comment.