Skip to content

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

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

Closed
wants to merge 1 commit into from

Conversation

zenixls2
Copy link

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
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
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
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants