You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by GitBox <gi...@apache.org> on 2022/04/12 03:40:50 UTC

[GitHub] [incubator-teaclave-trustzone-sdk] chuan-xu opened a new issue, #69: rustc version 1.57 or 1.58

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

   when use rustc 1.57.0-nightly, can not use some libraries in crates.io:
   error[E0658]: use of unstable library feature 'proc_macro_is_available'
     --> C:\Users\PC\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\proc-macro2-1.0.37\src\detection.rs:28:21
      |
   28 |     let available = proc_macro::is_available();
      |                     ^^^^^^^^^^^^^^^^^^^^^^^^
      |
   
   when use rustc rustc 1.58.0-nightly:
   error[E0433]: failed to resolve: could not find `UnsafeArg` in `fmt`
      --> /home/chuan/optee/out-br/build/optee_rust_examples_ext-1.0/rust/rust/library/core/src/macros/mod.rs:479:49
       |
   479 |     ($dst:expr, $($arg:tt)*) => ($dst.write_fmt($crate::format_args!($($arg)*)))
       |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `UnsafeArg` in `fmt`
   
        Running `/tmp/xargo.XfywwNRhXvRQ/target/release/build/unwind-357b03fc031273ae/build-script-build`
   error[E0061]: this function takes 3 arguments but 4 arguments were supplied
      --> /home/chuan/optee/out-br/build/optee_rust_examples_ext-1.0/rust/rust/library/core/src/macros/mod.rs:479:49
       |
   479 |     ($dst:expr, $($arg:tt)*) => ($dst.write_fmt($crate::format_args!($($arg)*)))
       |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |                                                 |
       |                                                 supplied 4 arguments
       |                                                 expected 3 arguments
       |


-- 
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-unsubscribe@teaclave.apache.org.apache.org

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


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


[GitHub] [incubator-teaclave-trustzone-sdk] chuan-xu closed issue #69: rustc version 1.57 or 1.58

Posted by GitBox <gi...@apache.org>.
chuan-xu closed issue #69: rustc version 1.57 or 1.58
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/69


-- 
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-unsubscribe@teaclave.apache.org

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


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