Skip to content

Conversation

@necauqua
Copy link
Contributor

Only now, after #309 was merged, I learned that there is a cleaner unstable way of using a vector as an unitialized buffer and then marking it as initialized without any pointer reinterpretations.

Here is a change that implements that - check it out.

@nicholasbishop
Copy link
Member

Nice, much simpler indeed.

@nicholasbishop nicholasbishop merged commit c00bb56 into rust-osdev:master Nov 26, 2021
@necauqua necauqua deleted the improve-handle-vec-code branch November 26, 2021 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants