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 a regular `.rs` file (without `no_std` or `no_core`) ```rust #[macro_use] extern crate std; use std::prelude::v1::*; ``` to import `sgx_tstd` you need to (on a 2015-styled crate) and using cargo (not xargo): 1. `#[macro_use] extern crate sgx_tstd as std` in `lib.rs` only 2. `use std::prelude::v1::*` in every `.rs` where you need functions exported by std; -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/328#issuecomment-804329584
