Skip to content

[feat] skip rustup installation for cargo tauri android init (for nix user) #7044

@bburdette

Description

@bburdette

Describe the problem

I'm getting a nix flake set up for my project. I want to avoid using rustup as that is a system wide (or at least user-wide) tool. I'd like to have as many build tools as possible specified in my flake.nix.

I already have the rustc android targets installed and rustc and so forth. But cargo tauri android init fails because rustup is not found. I don't want to install the compiler and etc with rustup because I already have that.

Describe the solution you'd like

I'd like the tool to skip the rustup step. Some ways to do that:

  • have an optional --no-rustup flag
  • check for compile targets being present before trying to call rustup to install them

Alternatives considered

just install things with rustup during project generation, then delete the rustup installed compiler again when its through. probably will do this but would rather not long-term.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions