Skip to content

better CStr16 to String and str #249

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

Merged
merged 7 commits into from
Aug 6, 2021

Conversation

phip1611
Copy link
Member

@phip1611 phip1611 commented Jul 3, 2021

In my experience, the current CStr16 abstraction is really a pain when you want to use the strings in regular Rust code. As I'm developing my own OS/kernel, I'd love to have a nice way to transform these to regular Rust strings.

@phip1611 phip1611 force-pushed the better-cstr16-to-string branch from 4c40dd0 to e4d8598 Compare July 6, 2021 12:08
@phip1611 phip1611 force-pushed the better-cstr16-to-string branch from e4d8598 to 256c884 Compare August 5, 2021 09:49
@phip1611
Copy link
Member Author

phip1611 commented Aug 5, 2021

hey @GabrielMajeri
I rebased the branch and made adjustments. Can you re-review please?

@phip1611 phip1611 force-pushed the better-cstr16-to-string branch from f86fb4d to f011be4 Compare August 5, 2021 19:17
@phip1611 phip1611 force-pushed the better-cstr16-to-string branch from f011be4 to 9bf8b66 Compare August 6, 2021 09:16
@GabrielMajeri
Copy link
Collaborator

Thanks for the contribution!

@GabrielMajeri GabrielMajeri merged commit c4ab6ae into rust-osdev:master Aug 6, 2021
@phip1611 phip1611 deleted the better-cstr16-to-string branch January 23, 2022 22:02
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