-
Notifications
You must be signed in to change notification settings - Fork 65
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
Failed to copy wasm binary using target wasm32-wasip1
when using Rust 1.81
#1317
Comments
Indeed, we're aware of this name change but haven't had time to review all of the places throughout the build process which will need to be updated. Thanks for reporting it! |
wasm32-wasip1
wasm32-wasip1
when using Rust 1.81
My pleasure! Would be wonderful to get some sort of timeline, as we generally have an environment where we can't build/deploy anything that generates warnings, which means we can't update our Rust version currently as there doesn't seem to be any way to silence the target rename warning. |
That's understandable; we don't have a timeline to provide right now, but realistically it will be a couple of months before we've identified all of the places in our Compute workflows that are affected by the platform name and are ready for customers to begin using |
Okay, good to know! Thanks! |
Hello 👋 Are there any updates on this? We've had to pin to the last stable toolchain with this target for a little while now |
Haven't heard anything from Fastly, but what we did to target the new target was to change the build script like this - essentilaly building the new target and then moving to the old directory where fastly expects things to reside. Haven't tried it with a rust version where the old target is deprecated yet, but should work.
|
Version
What happened
Rust has recently renamed it's wasi target from
wasm32-wasi
towasm32-wasip1
.Using the old name is starting to generate warnings in Rust 1.81.
I am unable to upgrade the target, as I get the following error:
which makes sense, as the binary is now in
target/wasm32-wasip1/...
Full command output:
The text was updated successfully, but these errors were encountered: