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 CI failures #173

Merged
merged 4 commits into from
Jan 7, 2024
Merged

Fix CI failures #173

merged 4 commits into from
Jan 7, 2024

Commits on Jan 7, 2024

  1. ci: Use cargo-hack's --rust-version flag for msrv check

    This respects rust-version field in Cargo.toml, so it removes the need
    to manage MSRV in both the CI file and Cargo.toml.
    taiki-e committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    eb5ec7f View commit details
    Browse the repository at this point in the history
  2. ci: Update FreeBSD image to 13.2

    ```
    pkg install -y git
    Updating FreeBSD repository catalogue...
    pkg: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/meta.txz: Not Found
    repository FreeBSD has no meta file, using default settings
    pkg: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/packagesite.pkg: Not Found
    pkg: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/quarterly/packagesite.txz: Not Found
    Unable to update repository FreeBSD
    Error updating repositories!
    ```
    taiki-e committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    2ba5562 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d23d6de View commit details
    Browse the repository at this point in the history
  4. Ignore dead_code warning for tuple struct

    This lint does not take into account destructors.
    
    ```
    error: field `0` is never read
        --> src\iocp\mod.rs:1155:13
         |
    1155 |     Waiting(WaitHandle),
         |     ------- ^^^^^^^^^^
         |     |
         |     field in this variant
         |
         = note: `-D dead-code` implied by `-D warnings`
         = help: to override `-D warnings` add `#[allow(dead_code)]`
    help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
         |
    1155 |     Waiting(()),
         |             ~~
    ```
    taiki-e committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    6a8517e View commit details
    Browse the repository at this point in the history