Yu Ding

Results 153 comments of Yu Ding

OOOps. I think I don't have a detailed document here -- I wonder if anybody else need it now?

Regarding to the missing macro definition `println!` please add `#[macro_use]` before you do `extern crate sgx_tstd as std`. reference: https://github.com/apache/incubator-teaclave-sgx-sdk/blob/master/samplecode/hello-rust/enclave/src/lib.rs#L26 the reason is that by default, rust brings these on...

@blmalone no worries. i'll get this done in 1~2 days :-) but i don't have the latest "localattestation" similar to Intel's sample right now. the current local attestation is a...

Mutex roots at os kernel provided primitives (like futex). But SgxMutex does not root at it. It's completely two different implementation with different assumptions (but with similar APIs)

generally speaking, `cargo test` collects all `#[test]`s and creates a binary with a fixed driver and `libtest`. we don't have chance to change the compiler ad `libtest`. so the only...

though our initial PoC works, it has problem with ld from LLVM9, which optimizes out ctors. related issues: https://github.com/mmastrac/rust-ctor/issues/27 https://github.com/mmastrac/rust-ctor/issues/43

@mssun perhaps we could "downport" it to the sdk and make it available to developers like @brenzi

Hi @adaszko , Long story short: i just solved it in https://github.com/mesalock-linux/env_logger-sgx/commit/ae2a39b53827b0ca074a2966a554ba1a998d7836 . To get rid of the TCSPolicy limitation, use this line in your enclave's Cargo.toml ```toml env_logger =...

I'm aware of that. Currently, Fortanix's solution occupies that. I have several discussions with jethrob on github, where crates are merging commits to support their solutions. Currently the rust-lang/rust can...

:-) I do have the plan to reorg this and push this to the upstream, as long as I can generate compile-time warnings for unsupported functions!