Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

fix: replace wasm32-wasi target with wasm32-wasip1#1074

Closed
zenixls2 wants to merge 1 commit into
fluencelabs:mainfrom
zenixls2:fix/wasi-remove
Closed

fix: replace wasm32-wasi target with wasm32-wasip1#1074
zenixls2 wants to merge 1 commit into
fluencelabs:mainfrom
zenixls2:fix/wasi-remove

Conversation

@zenixls2
Copy link
Copy Markdown

dependency: fluencelabs/marine#439
needs to wait until the above pr been released to set correct version in the dependencies of /packages/cli/package/package.json

refer to the renaming:
https://doc.rust-lang.org/nightly/rustc/platform-support/wasm32-wasip1.html
currently in beta and nightly, the wasm32-wasi target has been removed.

Original issue:

fluence init hello-fluence

Just doesn't compile. The rust version in cli is nightly 2024.6.10, which already removed wasm32-wasi from the target.
Also notice that the rust version in marine is different from cli

@shamsartem
Copy link
Copy Markdown
Contributor

shamsartem commented Dec 11, 2024

Thanks for the suggestion. But it works for older rust versions which is checked in our tests. Soon all this code will be removed though in favor of vms which will be created using frontend and current cli will be exclusively used by providers

@shamsartem shamsartem closed this Dec 11, 2024
@zenixls2
Copy link
Copy Markdown
Author

Just want to mentioned you that since January the old wasm target will also be removed from stable rust toolchain. You'll eventually need to apply similar changes within next 2 months. The steps written in getting started page only applies to the developers who don't have rust installed before.

For developers who already have rust installed in their environment, they are forced to downgrade the rust version without useful error messages from the fluence-cli when they try the getting started steps.

@shamsartem

@shamsartem
Copy link
Copy Markdown
Contributor

tioned you that since January the old wasm target will also be removed from stable rust toolchain. You'll eventually need to apply similar changes within next 2 months. The steps written in getting started page only applies to the developers who don't have rust installed before.

thanks. As I said all of this will be removed anyway so it doesn't matter at this moment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants