Skip to content

Toolchain & Codebase Updates#164

Open
mematthias wants to merge 1 commit intolucab:masterfrom
mematthias:nix_update
Open

Toolchain & Codebase Updates#164
mematthias wants to merge 1 commit intolucab:masterfrom
mematthias:nix_update

Conversation

@mematthias
Copy link

  • Updated Nix to 0.31
  • Bumped Rust Edition to 2024
  • Fixed Clippy warnings

Fixed clippy warnings
@@ -196,40 +211,53 @@ fn socks_from_fds(fd_count: usize) -> Result<Vec<FileDescriptor>, SdError> {
}

impl IsType for RawFd {
Copy link
Author

Choose a reason for hiding this comment

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

This should be looked at more closely.


let timeout = {
if let Some(usec) = env_usec.and_then(|usec_str| usec_str.parse::<u64>().ok()) {
time::Duration::from_millis(usec / 1_000)
Copy link
Author

Choose a reason for hiding this comment

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

Should the value really be truncated here?

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.

1 participant