Skip to content

Commit 95fe597

Browse files
authored
Merge pull request #139 from datachainlab/risc0-v3-0
Bump risc0 to v3.0 Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
2 parents fbe2464 + c069cfa commit 95fe597

File tree

26 files changed

+1206
-301
lines changed

26 files changed

+1206
-301
lines changed

Cargo.lock

Lines changed: 1149 additions & 269 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ crypto = { path = "../modules/crypto" }
2727
keymanager = { path = "../modules/keymanager" }
2828
remote-attestation = { path = "../modules/remote-attestation" }
2929
attestation-report = { path = "../modules/attestation-report", features = ["dcap-quote-parser"] }
30-
zkdcap-risc0 = { git = "https://github.com/datachainlab/zkdcap", rev = "v0.0.3" }
30+
zkdcap-risc0 = { git = "https://github.com/datachainlab/zkdcap", rev = "9d6fab9b7ca5621e58958515228a616f37f89a6d" }
3131

3232
[build-dependencies]
3333
git2 = { version = "0.20", default-features = false }

enclave-modules/ecall-handler/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::result_large_err)]
12
#![no_std]
23
extern crate alloc;
34

enclave-modules/runtime/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ fn begin_panic_handler(info: &core::panic::PanicInfo<'_>) -> ! {
4646

4747
#[cfg(not(test))]
4848
#[lang = "eh_personality"]
49-
#[no_mangle]
5049
unsafe extern "C" fn rust_eh_personality() {}
5150

5251
static HOOK: AtomicPtr<()> = AtomicPtr::new(ptr::null_mut());

modules/attestation-report/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pem = { version = "2.0", default-features = false }
1818
webpki = { version = "0.22", features = ["alloc"] }
1919
anyhow = { version = "1", default-features = false }
2020

21-
dcap-quote-verifier = { git = "https://github.com/datachainlab/zkdcap", rev = "v0.0.3", optional = true }
21+
dcap-quote-verifier = { git = "https://github.com/datachainlab/zkdcap", rev = "9d6fab9b7ca5621e58958515228a616f37f89a6d", optional = true }
2222

2323
[dev-dependencies]
2424
tokio = { version = "1.0", default-features = false, features = ["macros"] }

modules/attestation-report/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::result_large_err)]
12
#![cfg_attr(not(feature = "std"), no_std)]
23
extern crate alloc;
34

modules/commitments/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::result_large_err)]
12
#![cfg_attr(not(test), no_std)]
23
extern crate alloc;
34

modules/crypto/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::result_large_err)]
12
#![cfg_attr(not(feature = "std"), no_std)]
23
extern crate alloc;
34

modules/enclave-api/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::result_large_err)]
12
pub use api::{EnclaveCommandAPI, EnclavePrimitiveAPI, EnclaveProtoAPI};
23
pub use enclave::{CommitStoreAccessor, Enclave, EnclaveInfo, HostStoreTxManager};
34
pub use errors::Error;

modules/host-environment/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ impl Environment {
1515
Self { home, store }
1616
}
1717

18-
pub fn get_store(&self) -> RwLockReadGuard<HostStore> {
18+
pub fn get_store(&self) -> RwLockReadGuard<'_, HostStore> {
1919
self.store.read().unwrap()
2020
}
2121

22-
pub fn get_mut_store(&self) -> RwLockWriteGuard<HostStore> {
22+
pub fn get_mut_store(&self) -> RwLockWriteGuard<'_, HostStore> {
2323
self.store.write().unwrap()
2424
}
2525
}

0 commit comments

Comments
 (0)