Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling CLI dependency downloads #3417

Closed
CathalMullan opened this issue Dec 20, 2024 · 1 comment
Closed

Allow disabling CLI dependency downloads #3417

CathalMullan opened this issue Dec 20, 2024 · 1 comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Milestone

Comments

@CathalMullan
Copy link
Contributor

CathalMullan commented Dec 20, 2024

Feature Request

For environments like NixOS, auto-downloading binaries like wasm-bindgen isn't ideal.

Similar issue for the rustup usage for auto-downloading of toolchain targets. rustup may not even be present in certain environments.

Add a way to disable these downloads.

Implement Suggestion

Add a CLI feature to disable downloads, similar to the "no_downloads" feature of cargo-leptos. Just look for the tools in $PATH instead.

Instead of using rustup to check what targets are currently installed, you could use rustc --print sysroot instead.

I have a (messy) example here.

@ealmloff ealmloff added the cli Related to the dioxus-cli program label Dec 22, 2024
@jkelleyrtp jkelleyrtp added this to the 0.6.2 milestone Jan 7, 2025
@jkelleyrtp jkelleyrtp added the bug Something isn't working label Jan 7, 2025
@jkelleyrtp
Copy link
Member

Closed by #3465

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Projects
None yet
Development

No branches or pull requests

3 participants