-
Notifications
You must be signed in to change notification settings - Fork 22
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
Building nightly #25
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on the nightly setting (also target selection this is working properly).
But there is an issue. In the
cargo_command()
functionhttps:/slint-ui/cargo-ui/blob/dbf4777f198a5e12382bb23aca1a82bcc5d3b97a/src/cargo.rs#L471C1-L474C2
The env variable
CARGO
is used to get the instance of cargo to put at the front of the commando.However this links to (on linux) /home/user/.rustup/toolchains/(stable-toolchain)/bin/cargo
This will give an error:
While the actual cargo (on linux) /home/user/.cargo/bin/cargo does work
Is there a way to circumvent this?
I see 2 options:
cargo
and not theCARGO
env variable, however this will not work for someone who doesn´t have cargo on their path, but who doesn't really?.The text was updated successfully, but these errors were encountered: