Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sgx_align_struct_attribute compile error #364

Closed
EmisonLu opened this issue Dec 8, 2021 · 3 comments
Closed

sgx_align_struct_attribute compile error #364

EmisonLu opened this issue Dec 8, 2021 · 3 comments

Comments

@EmisonLu
Copy link

EmisonLu commented Dec 8, 2021

rust-sdk version: v1.1.4
rustc version: rustc 1.57.0-nightly (51e514c0f 2021-09-12)
When I use cargo b in the folder sgx_align_struct_attribute, the following error is reported:

error[E0658]: use of unstable library feature 'proc_macro_is_available'
  --> /home/emison/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/proc-macro2-1.0.33/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
@volcano0dr
Copy link
Contributor

volcano0dr commented Dec 8, 2021

Thank you for reporting this issue.
I am aware of this issue and I will fix it by upgrading the rust toolchain to nightly-2021-11-01.
rust-lang/rust#71436

@volcano0dr
Copy link
Contributor

@EmisonLu I have upgraded rust-toolchain to nightly-2021-11-01.

@EmisonLu
Copy link
Author

Many thanks!

@EmisonLu EmisonLu closed this as completed Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants