logoalt Hacker News

mafuy • today at 4:24 PM • 1 reply • view on HN

If this is true, then the entire thread branch here on HN is entirely wrong. What is going on??


Replies

hedora • today at 4:32 PM

People don't RTFM, either on HN or when implementing "standards compliant" stuff like MUSL.

No error handling scheme can fix that problem. For instance, if a Rust API says I should return a Result<String, ENOSYS>, I can always write code like `if(ENOSYS) { return Ok("*") } instead of returning Err(ENOSYS).

Then my code would be compatible with MUSL.

➕ show 2 replies