Skip to content

Conversation

@djc
Copy link
Contributor

@djc djc commented Nov 14, 2025

No description provided.

@djc djc requested review from ChrisDenton and rami3l November 14, 2025 15:48
Err(e) => return Some(Err(e)),
};

match target_package.bins.is_empty() {
Copy link
Member

@rami3l rami3l Nov 14, 2025

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.

Copy link
Member

@rami3l rami3l left a 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 :)

use std::ops::Deref;
use std::path::{Path, PathBuf};
use std::sync::OnceLock;
use std::{env, mem};
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants