library: Make ProcThreadAttributeListBuilder more unsafe#158712
library: Make ProcThreadAttributeListBuilder more unsafe#158712workingjubilee wants to merge 1 commit into
ProcThreadAttributeListBuilder more unsafe#158712Conversation
|
|
windows::process::ProcThreadAttributeListBuilder more unsafeProcThreadAttributeListBuilder more unsafe
|
This one I'll need to think a bit about. Honestly I've gone back and forth, though I fear this is ultimately a libs-api question. |
This comment has been minimized.
This comment has been minimized.
0ce091b to
6f0901e
Compare
|
Having at least one marked |
|
Ok, I do think this is a libs-api decision so I'm going to nominate libs-api. There are two options:
The argument for the former is that generally we say pointers are totally safe right up until the point you do something with them. In this case The argument for the latter is that it'd be nice if |
Honestly, I took the "make it all
unsafe" approach in this draft because it wasn't clear to me what exactly was the best to do and I figured we'd find out in review.r? @ChrisDenton cc @PaulDance
Resolves #158601