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

Refactor Rust::Result into std::expected #456

Closed
wants to merge 2 commits into from

Conversation

Wunkolo
Copy link
Collaborator

@Wunkolo Wunkolo commented Mar 11, 2024

The standard library already has support for this type as of C++23: https://en.cppreference.com/w/cpp/header/expected

This is also supported by all major compilers

This bumps the project up to C++23.

@wheremyfoodat
Copy link
Owner

The NDK strives for equality, for it hates everyone equally.

@Wunkolo
Copy link
Collaborator Author

Wunkolo commented Mar 11, 2024

Windows passes just fine. Android fails due to missing the header entirely.
The other builds fail due to a libstdc++ issue(llvm/llvm-project#62801).
Closing for now!

@Wunkolo Wunkolo closed this Mar 11, 2024
@wheremyfoodat
Copy link
Owner

Speaking of libstdc++ issues, shout out Github for closing this issue actions/runner-images#8659

@Wunkolo Wunkolo deleted the expected branch March 11, 2024 17:35
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.

2 participants