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

Fix MSRV & Windows clippy warning #35

Merged
merged 3 commits into from Feb 8, 2023

Commits on Jan 13, 2023

  1. Raise the MSRV to 1.56.1

    This is needed as nix v0.26.0 raised its MSRV to 1.56.1. For more
    information please see the changelog:
    	https://github.com/nix-rust/nix/blob/master/CHANGELOG.md#0260---2022-11-29
    
    Or the corresponding PR:
    	nix-rust/nix#1792
    
    Signed-off-by: Richard Leitner <dev@g0hl1n.net>
    g0hl1n committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    be37c39 View commit details
    Browse the repository at this point in the history
  2. src: Windows: remove useless transmute

    This fixes following clippy warning:
    
    	Error:    --> src\lib.rs:605:31
    	    |
    	605 |         let handle = unsafe { mem::transmute(handle) };
    	    |                               ^^^^^^^^^^^^^^^^^^^^^^
    	    |
    	    = note: `-D clippy::useless-transmute` implied by `-D warnings`
    	    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
    
    Signed-off-by: Richard Leitner <dev@g0hl1n.net>
    g0hl1n committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    487581c View commit details
    Browse the repository at this point in the history
  3. Raise the MSRV to 1.60.0

    This is needed as env_logger v0.10.0 raised its MSRV to 1.60.0. For more
    information please see the corresponding commit or PR:
        rust-cli/env_logger@660cf7f
        rust-cli/env_logger#248
    
    Signed-off-by: Richard Leitner <dev@g0hl1n.net>
    g0hl1n committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    de66b35 View commit details
    Browse the repository at this point in the history