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

feature(unwind_attributes) has been removed #755

Closed
dcversus opened this issue Mar 15, 2022 · 1 comment
Closed

feature(unwind_attributes) has been removed #755

dcversus opened this issue Mar 15, 2022 · 1 comment

Comments

@dcversus
Copy link

I'm trying to build a contract and there are a lot of errors of the same nature in the console (only like this)

error: cannot find attribute `unwind` in this scope
   --> /Users/dcversus/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmer-runtime-core-near-0.17.4/src/typed_func.rs:734:37
    |
734 |                 #[cfg_attr(nightly, unwind(allowed))]
    |                                     ^^^^^^
...
879 | impl_traits!([C] S17, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q);
    | ------------------------------------------------------------------------ in this macro invocation
    |
    = note: this error originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)

rustc -Vv

rustc 1.61.0-nightly (285fa7ecd 2022-03-14)
binary: rustc
commit-hash: 285fa7ecd05dcbfdaf2faaf20400f5f92b39b3c6
commit-date: 2022-03-14
host: aarch64-apple-darwin
release: 1.61.0-nightly
LLVM version: 14.0.0

and packages are:
near-contract-standards 4.0.0-pre.6
near-sdk 4.0.0-pre.6
near-sdk-sim 4.0.0-pre.6

maybe related #355

@dcversus
Copy link
Author

fixed by using rustc 1.59.x

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

1 participant