winapi-rs icon indicating copy to clipboard operation
winapi-rs copied to clipboard

Never return from ExitProcess

Open Plecra opened this issue 5 years ago • 1 comments

Plecra avatar Oct 16 '20 03:10 Plecra

I'm not sure if this would technically be a breaking change in some strange edge cases involving Fn type inference? Would it be appropriate to target dev instead of 0.3?

That said, the windows headers do mark it DECLSPEC_NORETURN (__declspec(noreturn)) which means it really shouldn't ever return (would be undefined behavior in C++ codebases if it did), so I think the change itself is good :+1:

MaulingMonkey avatar Nov 27 '20 02:11 MaulingMonkey