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

Consistent allocation failure handling #3209

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

kennykerr
Copy link
Collaborator

Following on a side discussion leading out of #3198, this update brings windows-rs in line with the Rust Standard Library and prefers to panic on allocation failure rather than attempting to convert such instances into an HRESULT for error propagation.

This primarily affected windows-strings and means that this crate no longer needs a dependency on windows-result.

I also took the opportunity to centralize all of the string tests in the test_strings crate.

@kennykerr kennykerr merged commit 75a632d into master Aug 20, 2024
79 checks passed
@kennykerr kennykerr deleted the strings-and-alloc-failure branch August 20, 2024 19:42
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