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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to