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 #705

Merged
merged 8 commits into from
Jul 5, 2024
Merged

Fix ci #705

merged 8 commits into from
Jul 5, 2024

Commits on Jul 3, 2024

  1. Don't use core::i32::MAX

    This is a legacy constant and it's better to just use `i32::MAX`. Note
    that one cannot `use` an associated constant so this just removed the
    import. This is better anyway since it's only used once and it didn't
    provide meaningful line length reduction.
    Kixunil committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    05a4e39 View commit details
    Browse the repository at this point in the history
  2. Whitelist known cfgs

    Rust is now checking cfg attributes for typos but this interferes with
    our cfgs that rustc/cargo don't recognize. This whitelists them so they
    no longer produce warnings.
    Kixunil committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    614fe81 View commit details
    Browse the repository at this point in the history
  3. Update panic message handling

    The newest nightly stabilized `PanicMessage` with a slightly different
    API. This updates the API and removes the `#![feature()]` attribute.
    Kixunil committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    924ba38 View commit details
    Browse the repository at this point in the history
  4. Use libc::abort instead of intrinsics::abort

    Despite using the `#![feature()]` attribute rustc still warns about it
    being unstable. Changing it to `libc::abort` gets rid of the annoying
    message.
    Kixunil committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    df0523a View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Migrate no_std_test to edition 2021

    Previously we had dependency problems that were resolved by resolver v2.
    We want to activate it just in case it happens again but even better,
    bump the edition.  This was probably forgotten when other crates were
    migrated.
    Kixunil committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    2572fb6 View commit details
    Browse the repository at this point in the history
  2. Compile no_std test using xargo

    The `no_std` test disables `std`, so unwinding is unsupported, so we use
    `panic = "abort"` but the `core` library is compiled with unwind by
    default which breaks the build. Xargo can handle this by recompiling
    `core` with `panic = "abort"` so we use it.
    Kixunil committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    742c69f View commit details
    Browse the repository at this point in the history
  3. Run cross with --verbose flag

    This can help debug CI issues.
    Kixunil committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    24e81ee View commit details
    Browse the repository at this point in the history
  4. Upgrade cross image for windows

    Cross uses an old image by default and there's a problem that is
    resolved in the newest wine version, so this commit upgrades the
    image.
    Kixunil committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    33a1893 View commit details
    Browse the repository at this point in the history