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

Bug: mxpy build contract #13

Open
BiaPopa opened this issue Aug 10, 2023 · 1 comment
Open

Bug: mxpy build contract #13

BiaPopa opened this issue Aug 10, 2023 · 1 comment

Comments

@BiaPopa
Copy link

BiaPopa commented Aug 10, 2023

I fail to build the rust smart contract when using the command mxpy build contract. I'm using Ubuntu 20.04 and Python 3.10.12.
The error log:

error: the feature lang_items is internal to the compiler or standard library
--> src/lib.rs:13:33
|
13 | #![feature(alloc_error_handler, lang_items)]
| ^^^^^^^^^^
|
= note: using it is strongly discouraged
= note: #[deny(internal_features)] on by default

error: could not compile ping-pong-wasm (lib) due to previous error
thread 'main' panicked at /home/student/multiversx-sdk/vendor-rust/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-meta-0.39.8/src/output_contract/wasm_build.rs:21:9:
contract build process failed

Does anyone know what could go wrong?

@xm1k3
Copy link

xm1k3 commented Aug 11, 2023

Hey, actually i have the same problem

@alyn509 alyn509 mentioned this issue Aug 14, 2023
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