Skip to content

Commit

Permalink
enclave: patch log and env_logger to mesalock
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain Brenzikofer committed Aug 30, 2020
1 parent 155619a commit 1c1e3d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 3 additions & 12 deletions enclave/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ dependencies = [
"frame-metadata 11.0.0-alpha.7 (registry+https://github.com/rust-lang/crates.io-index)",
"frame-support-procedural 2.0.0-alpha.7 (registry+https://github.com/rust-lang/crates.io-index)",
"impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)",
"parity-scale-codec 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"paste 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
"sp-arithmetic 2.0.0-alpha.7 (registry+https://github.com/rust-lang/crates.io-index)",
Expand Down Expand Up @@ -700,14 +700,6 @@ dependencies = [
"sgx_tstd 1.1.2 (git+https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2)",
]

[[package]]
name = "log"
version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
]

[[package]]
name = "memchr"
version = "2.2.1"
Expand Down Expand Up @@ -1829,7 +1821,7 @@ dependencies = [
"hash256-std-hasher 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"hex 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libsecp256k1 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)",
"merlin 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
Expand Down Expand Up @@ -2314,7 +2306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"hashbrown 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)",
"smallvec 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
]

Expand Down Expand Up @@ -2517,7 +2509,6 @@ dependencies = [
"checksum libc 0.2.70 (registry+https://github.com/rust-lang/crates.io-index)" = "3baa92041a6fec78c687fa0cc2b3fae8884f743d672cf551bed1d6dac6988d0f"
"checksum libsecp256k1 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "1fc1e2c808481a63dc6da2074752fdd4336a3c8fcc68b83db6f1fd5224ae7962"
"checksum log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)" = "<none>"
"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
"checksum memchr 2.2.1 (git+https://github.com/mesalock-linux/rust-memchr-sgx)" = "<none>"
"checksum memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
"checksum memory-db 0.20.1 (registry+https://github.com/rust-lang/crates.io-index)" = "be512cb2ccb4ecbdca937fdd4a62ea5f09f8e7195466a85e4632b3d5bcce82e6"
Expand Down
2 changes: 2 additions & 0 deletions enclave/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,5 @@ features = ["sgx"]

[patch.crates-io]
sp-io = { git = "https://github.com/encointer/sgx-runtime", tag = "v0.6.10-sub2.0.0-alpha.7", default-features = false, features = ["disable_oom", "disable_panic_handler", "disable_allocator", "sgx"]}
log = { git = "https://github.com/mesalock-linux/log-sgx", version = "0.4" }
env_logger = { git = "https://github.com/mesalock-linux/env_logger-sgx", version = "0.7" }

0 comments on commit 1c1e3d6

Please sign in to comment.