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
Rust enabled multiple returns values in WASM targets in stable which means if you're compiling now it might be possible that WASM is produced with multiple return values which does not yet work on singlepass compiler and thus you have to switch to nightly and explicitly disable multiple return values in rustc and also compile with RUSTC_BOOTSTRAP to rebuild libstd without multiple return values. It's tedious and cumbersome to do, and forces users to compile on nightly which is not the best way of doing things.
Proposed solution
Implement multiple-return values in singlepass compiler.
Alternatives
No alternatives
Additional context
This feature is desired by our team at @gear-tech to make building smart-contracts on user side easier without all the shenanigans of RUSTC_BOOTSTRAP. If Wamser team is not yet working on this feature I would be happy to work on it as I have experince in X64/ARM64 assembly.
The text was updated successfully, but these errors were encountered:
Motivation
Rust enabled multiple returns values in WASM targets in stable which means if you're compiling now it might be possible that WASM is produced with multiple return values which does not yet work on singlepass compiler and thus you have to switch to nightly and explicitly disable multiple return values in rustc and also compile with RUSTC_BOOTSTRAP to rebuild libstd without multiple return values. It's tedious and cumbersome to do, and forces users to compile on nightly which is not the best way of doing things.
Proposed solution
Implement multiple-return values in singlepass compiler.
Alternatives
No alternatives
Additional context
This feature is desired by our team at @gear-tech to make building smart-contracts on user side easier without all the shenanigans of RUSTC_BOOTSTRAP. If Wamser team is not yet working on this feature I would be happy to work on it as I have experince in X64/ARM64 assembly.
The text was updated successfully, but these errors were encountered: