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
Just dropping my stack trace here when I run the following command.
$ cargo mobile update
> ...
> ...
> ...
> error[E0601]: `main`functionnot found in crate `cargo_mobile`> --> src/bin/cargo-mobile.rs:223:2
>|> 223 | }
>| ^ consider adding a `main`functionto`src/bin/cargo-mobile.rs`> For more information about this error, try `rustc --explain E0601`.
> error: could not compile `tauri-mobile` due to previous error
> error: failed to compile `tauri-mobile v0.2.0 (/Users/<username>/.tauri-mobile/checkouts/tauri-mobile)`, intermediate artifacts can be found at `/Users/<username>/.tauri-mobile/checkouts/tauri-mobile/target`> error: Failed to update `tauri-mobile`> Failed to install new version of `tauri-mobile`: Command "cargo install --force --path /Users/<username>/.tauri-mobile/checkouts/tauri-mobile --no-default-features --features " didn't complete> successfully, exiting with code 101.
I'm using an ARM-based MacBook Pro M1. And Rust 1.65.0
We don't really use tauri-mobile as CLI, so I didn't really look into this. But update command is indeed broken. If anyone is interested, feel free to take it.
Just dropping my stack trace here when I run the following command.
I'm using an ARM-based MacBook Pro M1. And Rust 1.65.0
$ rustc --version > rustc 1.65.0 (897e37553 2022-11-02)
The text was updated successfully, but these errors were encountered: