Make the CLI usable without rustup
#272
Labels
A-Web
Building or running Bevy apps targeting the browser
C-Bug
A bug in the program
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
S-Ready-for-Implementation
This issue is ready for an implementation PR. Go for it!
We currently assume the user has
rustup
installed, but that isn't always the case.This makes the
web
sub-commands unusable, because they userustup
to check whether thewasm32-unknown-unknown
target is installed.As a quick fix, we could first check whether
rustup
is installed and if it's not, we simply omit the Wasm target check.Later on, I assume we will not check this in advance, but parse the command output for the error instead and then do it on demand.
The text was updated successfully, but these errors were encountered: