`Ok(0)` is indeed something the caller may interpret as an error, but that's the *correct* thing to return if the writer can't accept any more bytes. (cherry picked from commit 5210f482d7)
5210f482d7
c_unwind
compiler-builtins-weak-intrinsics
-Zbuild-std