You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 defaulterror: could not compile
ping-pong-wasm
(lib) due to previous errorthread '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?
The text was updated successfully, but these errors were encountered: