Skip to content

Edition 2024 - #315

Draft
FreezyLemon wants to merge 18 commits into
rust-av:masterfrom
FreezyLemon:edition-2024
Draft

Edition 2024#315
FreezyLemon wants to merge 18 commits into
rust-av:masterfrom
FreezyLemon:edition-2024

Conversation

@FreezyLemon

Copy link
Copy Markdown
Contributor

Requires #311, #313 and #314 (and probably a rebase haha).

cargo fix --edition shows one nothingburger with the drop order change, so I reverted the code change. Rest was just macro stuff ($asdf:expr became $asdf:expr_2021, reverted too) and some placement of unsafe keywords. That's why I reordered some code in the CIEDE AVX2 module, and to reduce unsafe in general.

seems to be unused
both are semver-compatible if the std feature (default) is enabled
not for av_metrics_tests because it's publish = false anyways
most of these functions were only unsafe because they
use AVX2 instructions. this is considered safe in Rust
as long as the relevant #[target_feature] attribute
is added to the containing function. this makes
the migration easier
no further code changes necessary
@FreezyLemon
FreezyLemon marked this pull request as draft July 6, 2026 19:18
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