multiversx / mx-ping-pong-sc

GNU General Public License v3.0
14 stars 13 forks source link

Bug: mxpy build contract #13

Open BiaPopa opened 11 months ago

BiaPopa commented 11 months ago

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 commented 11 months ago

Hey, actually i have the same problem