syedelec opened a new issue, #86:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/86

   Hi
   
   I am building a TA and want to use openssl on normal world side, when I add 
the following in `host/Cargo.toml`:
   
   `openssl = { version = "0.10", features = ["vendored"] }`
   
   I have the following error:
   
   ```
   > ~/project/tee-rust ยป make -C examples/new_one/ && make examples-install 
   make: Entering directory '/home/syedelec/project/tee-rust/examples/new_one'
   make[1]: Entering directory 
'/home/syedelec/project/tee-rust/examples/new_one/host'
      Compiling proc-macro2 v1.0.43
      Compiling openssl-sys v0.9.75
      Compiling optee-teec-macros v0.2.0 
(/home/syedelec/project/tee-rust/optee-teec/macros)
   error[E0658]: use of unstable library feature 'proc_macro_is_available'
     --> 
/home/syedelec/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.43/src/detection.rs:28:21
      |
   28 |     let available = proc_macro::is_available();
      |                     ^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: see issue #71436 <https://github.com/rust-lang/rust/issues/71436> 
for more information
      = help: add `#![feature(proc_macro_is_available)]` to the crate 
attributes to enable
   
   For more information about this error, try `rustc --explain E0658`.
   error: could not compile `proc-macro2` due to previous error
   warning: build failed, waiting for other jobs to finish...
   error: build failed
   make[1]: *** [Makefile:39: host] Error 101
   make[1]: Leaving directory 
'/home/syedelec/project/tee-rust/examples/new_one/host'
   make: *** [Makefile:19: all] Error 2
   make: Leaving directory '/home/syedelec/project/tee-rust/examples/new_one'
   ```
   
   The same happens if I add serde even if it's supported in serde-rs example. 
To work with serde, I need to copy the serde-rs example and starts from there 
otherwise I have the same error.
   
   Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org

Reply via email to