Description
Description
On trunk, cargo xtask
is not found, but it is referenced in multiple places including https://github.com/gfx-rs/wgpu/wiki/Running-on-the-Web-with-WebGPU-and-WebGL
Repro steps
git clone https://github.com/gfx-rs/wgpu.git
cd wgpu
cargo xtask run-wasm --bin cube
Expected vs observed behavior
Expected to build and see the cube example running in browser. Instead got this:
$ cargo xtask run-wasm --bin cube
error: no such subcommand: `xtask`
Did you mean `apk`?
View all installed commands with `cargo --list`
Extra materials
It appears that the .cargo/config.toml
that supports xtask was removed here: #4107
For beginners, the missing .cargo/config.toml
can be hard to debug, especially since the project doesn't use the workspace setup suggested by https://github.com/matklad/cargo-xtask
Was this intentional? If so I can raise a separate issue about updating the documentation to reflect the removal of the xtask alias.
Platform
rustc 1.65.0 (897e37553 2022-11-02)
Mac OS Ventura 13.5.2