Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several problems with Errno aliases #1452

Merged
merged 3 commits into from
Jun 13, 2021
Merged

Commits on Jun 13, 2021

  1. Remove Errno consts from platforms where they aren't defined.

    Previously these were aliases for UnknownErrno.  Now, they're compile
    errors.
    asomers committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    5494b74 View commit details
    Browse the repository at this point in the history
  2. Errno aliases are now associated consts of the Errno type.

    Previously they had to be consts in the errno module, because associated
    consts weren't supported until Rust 1.20.0.  Now that they're associated
    consts, they can be used interchangeably with regular Errno enum
    variants.
    asomers committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    4da2e02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f15bf3 View commit details
    Browse the repository at this point in the history