-
Notifications
You must be signed in to change notification settings - Fork 987
Clarify installation process dependencies #4599
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
base: main
Are you sure you want to change the base?
Conversation
| Err(e) => return Some(Err(e)), | ||
| }; | ||
|
|
||
| match target_package.bins.is_empty() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Existing, but when looking at this I realized that maybe this could be matched as &target_package.bins against [] or [binary, ..]? It's true that using match rather than if-else would help spotting such issues.
rami3l
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty cool, thanks a lot :)
src/dist/component/package.rs
Outdated
| use std::ops::Deref; | ||
| use std::path::{Path, PathBuf}; | ||
| use std::sync::OnceLock; | ||
| use std::{env, mem}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: RA likes to suggest stuff like that. When this happens I just merge the imports altogether. This change seems to be unused?
No description provided.