Skip to content

jmillikin/rust-posix-error-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Demo crate for rust-lang/rfcs#2973

Notes:

  • names the type ErrorCode
  • uses the Neg + unsigned alternative representation
  • defines error codes for macOS, FreeBSD, and some Linux architectures (x86 + MIPS)
  • doesn't have PartialEq<isize> for Neg because it's midnight and I don't want to stare at bit arithmetic any more right now.

Releases

No releases published

Packages

No packages published

Languages