Skip to content

Conversation

@MarijnS95
Copy link
Member

Fixes #255

With the windows migration we introduced a winapi compatibility layer to make it easier to use winapi types with gpu-allocator. As most of the ecosystem has switched to windows it is now time to sunset these helpers which are otherwise tedious to test and maintain, not to mention contain long(er) standing unsoundness bugs.

@MarijnS95
Copy link
Member Author

MarijnS95 commented Dec 10, 2024

Yikes this new presser code is triggering some new clippy lints... and as far as I remember didn't even resolve our original soundness issues 😅

@MarijnS95
Copy link
Member Author

@Jasper-Bekkers in order to merge this, we must remove the branch-protection rules that expect a check with public-winapi in the title to succeed, because that feature no longer exists 👍

@MarijnS95 MarijnS95 force-pushed the rm-winapi branch 2 times, most recently from 723eff5 to b0d15c6 Compare February 4, 2025 09:29
@MarijnS95 MarijnS95 mentioned this pull request Apr 16, 2025
Copy link
Member

@Jasper-Bekkers Jasper-Bekkers left a comment

Choose a reason for hiding this comment

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

Removed the rules! Nice to see this change!

MarijnS95 added 2 commits June 3, 2025 17:05
With the `windows` migration we introduced a `winapi` compatibility
layer to make it easier to use `winapi` types with `gpu-allocator`.  As
most of the ecosystem has switched to `windows` it is now time to sunset
these helpers which are otherwise tedious to test and maintain, not to
mention contain long(er) standing unsoundness bugs.
@MarijnS95 MarijnS95 merged commit 0c5fc95 into main Jun 3, 2025
26 checks passed
@MarijnS95 MarijnS95 deleted the rm-winapi branch June 3, 2025 15:09
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.

Maybe Unsound in from_winapi_d3d12_resource_desc

3 participants