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
Whenever I try to add this feature to my devcontainer, it fails with the following message:
[2025-02-15T17:35:44.221Z] [2/2] STEP 17/22: RUN --mount=type=bind,from=dev_containers_feature_content_source,source=rust-wasi_5,target=/tmp/build-features-src/rust-wasi_5,z cp -ar /tmp/build-features-src/rust-wasi_5 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/rust-wasi_5 && cd /tmp/dev-container-features/rust-wasi_5 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/rust-wasi_5
[2025-02-15T17:35:44.603Z] ===========================================================================
Feature : wasm + wasi for Rust
Description : Installs the web assembly target for rust
Id : devwasm.azurecr.io/dev-wasm/dev-wasm-feature/rust-wasi
Version : 0.0.2
[2025-02-15T17:35:44.604Z]
Documentation : https://github.com/dev-wasm/dev-wasm-feature
Options :
===========================================================================
[2025-02-15T17:35:44.743Z] error: toolchain 'stable-x86_64-unknown-linux-gnu' does not support target 'wasm32-wasi'; did you mean 'wasm32-wasip1'?
note: you can see a list of supported targets with `rustc --print=target-list`
note: if you are adding support for a new target to rustc itself, see https://rustc-dev-guide.rust-lang.org/building/new-target.html
[2025-02-15T17:35:44.746Z] ERROR: Feature "wasm + wasi for Rust" (devwasm.azurecr.io/dev-wasm/dev-wasm-feature/rust-wasi) failed to install! Look at the documentation at https://github.com/dev-wasm/dev-wasm-feature for help troubleshooting this error.
[2025-02-15T17:35:46.412Z] Error: building at STEP "RUN --mount=type=bind,from=dev_containers_feature_content_source,source=rust-wasi_5,target=/tmp/build-features-src/rust-wasi_5,z cp -ar /tmp/build-features-src/rust-wasi_5 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/rust-wasi_5 && cd /tmp/dev-container-features/rust-wasi_5 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/rust-wasi_5": while running runtime: exit status 1
[2025-02-15T17:35:46.420Z] Stop (361952 ms): Run: podman buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-cchristie/container-features/0.73.0-1739640572916 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/base:ubuntu --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-cchristie/container-features/0.73.0-1739640572916/Dockerfile.extended -t vsc-paragonrustwasmtest-f0e5804b5059c2adfea9ff13b7a941cf7d20c38324ad45df5a51e9c2826db5da-features /home/cchristie/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/empty-folder
The text was updated successfully, but these errors were encountered:
After some basic investigation, it seems the WASM target has been split due to developing new features:
wasm32-wasip1: The equivalent of what the script currently targets.
wasm32-wasip2: The experimental next-generation WASM standard.
wasm32-wasip1-threads: An experimental target that extends wasm32-wasip1 with multi-threading capabilities.
It's up to you whether you want to implement the two experimental feature sets by adding a configuration option (or if you want me to do it) but I will be submitting a pull request to make the current functionality build as-is.
sonicbhoc
changed the title
Feature does not compile
rust-wasm: Feature does not compile
Feb 15, 2025
Whenever I try to add this feature to my devcontainer, it fails with the following message:
The text was updated successfully, but these errors were encountered: