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

CLI should not depend on rustup #1996

Merged
merged 5 commits into from
Nov 26, 2024
Merged

CLI should not depend on rustup #1996

merged 5 commits into from
Nov 26, 2024

Conversation

mamcx
Copy link
Contributor

@mamcx mamcx commented Nov 14, 2024

Description of Changes

Rustup could not be installed (for example, for people who use nix).

Now, the cli defensively check for it. It also try to find the target wasm32-unknown-unknown in case is not installed.

Closes #1971.

API and ABI breaking changes

If this is an API or ABI breaking change, please apply the
corresponding GitHub label.

Expected complexity level and risk

1

Testing

Describe any testing you've done, and any testing you'd like your reviewers to do,
so that you're confident that all the changes work as expected!

  • Write a test
  • Run manually in windows

@mamcx mamcx added CLI only This change only affects the CLI behavior release-1.0 labels Nov 14, 2024
@mamcx mamcx requested a review from gefjon November 14, 2024 18:24
@mamcx mamcx self-assigned this Nov 14, 2024
Copy link
Contributor

@kazimuth kazimuth left a comment

Choose a reason for hiding this comment

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

👍

crates/cli/src/detect.rs Show resolved Hide resolved
crates/cli/src/detect.rs Outdated Show resolved Hide resolved
crates/cli/src/detect.rs Outdated Show resolved Hide resolved
crates/cli/src/detect.rs Outdated Show resolved Hide resolved
crates/cli/src/detect.rs Outdated Show resolved Hide resolved
@bfops
Copy link
Collaborator

bfops commented Nov 22, 2024

Looks basically good to me, two small comments

crates/cli/src/tasks/rust.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@bfops bfops left a comment

Choose a reason for hiding this comment

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

LGTM

@mamcx mamcx added this pull request to the merge queue Nov 26, 2024
Merged via the queue into master with commit 7f22d88 Nov 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI only This change only affects the CLI behavior release-1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI should not depend on rustup
4 participants