Alex

Results 170 comments of Alex

Need to remove `` from text and its content wrap into real node `code`.

Thanks! 👍 But what if user hasn't rustup, but just nightly toolchain? [This](https://github.com/pd-rs/crank/issues/54) for example.

Rustup existence can be determined by env var, yes. [Example. ](https://github.com/boozook/playdate/blob/main/cargo/src/cli/opts.rs#L512)

Maybe just call crank so `cargo +nightly crank`? I'm not sure now, but if there cargo executable determined by `CARGO` env, it could fix this. 🤷🏻‍♂️

In case of (2) device is locked, device is not connected so we can do nothing.

Nightly toolchain is needed to build core and alloc libs.

> adding +nightly only works for a specific workflow. Not only. If you have rustup, you could just add rust-toolchain toml with channel=nightly to the root of your project. [Example.](https://github.com/boozook/playdate/blob/main/rust-toolchain.toml)

I've did it in other project `cargo-playdate`. I agree that there's no simple way to determine rustc-target, as well as cargo-target, so I'm using underlying cargo there.

It could be really useful as "hot-reload" feature for develop/debug in sim only. I'll think about it after revB & OS2.0 support.