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
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:
lang_items
is internal to the compiler or standard library--> src/lib.rs:13:33
= note: using it is strongly discouraged = note:
#[deny(internal_features)]
on by defaulterror: 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 failedDoes anyone know what could go wrong?