Skip to content

feat(cli): ensure mobile Rust targets are installed#14093

Merged
lucasfernog merged 1 commit into
devfrom
feat/ensure-mobile-rust-targets
Aug 27, 2025
Merged

feat(cli): ensure mobile Rust targets are installed#14093
lucasfernog merged 1 commit into
devfrom
feat/ensure-mobile-rust-targets

Conversation

@lucasfernog
Copy link
Copy Markdown
Member

currently we only install Rust targets for mobile when initializing the projects.

Users can commit the Android/iOS projects, so running the init command is not a requirement to develop mobile apps. This change ensures the Rust targets are installed before trying to compile them.

currently we only install Rust targets for mobile when initializing the projects.

Users can commit the Android/iOS projects, so running the init command is not a requirement to develop mobile apps. This change ensures the Rust targets are installed before trying to compile them.
@lucasfernog lucasfernog requested a review from a team as a code owner August 26, 2025 18:17
@github-actions
Copy link
Copy Markdown
Contributor

Package Changes Through d738f95

There are 2 changes which include @tauri-apps/cli with patch, tauri-cli with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/cli 2.8.3 2.8.4
tauri-cli 2.8.3 2.8.4

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Copy link
Copy Markdown
Member

@FabianLars FabianLars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i feel like Tony will not be happy about this or maybe not because mobile dev is already really slow to start anyway

(untested)

@Legend-Master
Copy link
Copy Markdown
Contributor

Probably ok to me with just this amount of slow down 😂

   4        0.104 rustup target list --installed
   5        0.041 Get-History
   6        0.068 rustc --print sysroot

@lucasfernog
Copy link
Copy Markdown
Member Author

well we print the sysroot, then read it to list all installed targets :|

@lucasfernog
Copy link
Copy Markdown
Member Author

DX costs a few seconds 😂 there's still so much we can/must do to ensure a good experience and handle errors etc

@lucasfernog lucasfernog merged commit f70b285 into dev Aug 27, 2025
17 checks passed
@lucasfernog lucasfernog deleted the feat/ensure-mobile-rust-targets branch August 27, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants