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

Build contracts for wasm64-unknown-unknown #280

Closed
ureeves opened this issue Oct 11, 2023 · 0 comments · Fixed by #284
Closed

Build contracts for wasm64-unknown-unknown #280

ureeves opened this issue Oct 11, 2023 · 0 comments · Fixed by #284
Labels
team:Core Low Level Core Development Team (Rust) type:feature implementing a new feature

Comments

@ureeves
Copy link
Member

ureeves commented Oct 11, 2023

Summary

Given the fact that a contract can currently only support a maximum of 2^32 bytes of data, we should allow piecrust-uplink to build properly for the wasm64-unknown-unknown target. This will enlarge the address space significantly, and then it will become the job of piecrust support such large memories.

Possible solution design or implementation

Since wasm64-unknown-unknown is a tier 3 target, the implementer will have to build the Rust compiler from source. They will therefore also have to choose how this compiler is disseminated to developers and contract builders alike.

@ureeves ureeves added team:Core Low Level Core Development Team (Rust) type:feature implementing a new feature labels Oct 11, 2023
ureeves pushed a commit that referenced this issue Oct 14, 2023
The compiler is downloaded and extracted to the target directory, and
linked to the toolchains in the rustup directory, making it available to
be used anyone in the system.

The compiler is available as under the `+dusk` option in rust tools, and
is able to compile at least the `wasm32-unknown-unknown` target.

See-also: #280
ureeves pushed a commit that referenced this issue Oct 24, 2023
ureeves pushed a commit that referenced this issue Oct 24, 2023
@HDauven HDauven linked a pull request Oct 24, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:Core Low Level Core Development Team (Rust) type:feature implementing a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant