Skip to content

Commit

Permalink
Auto merge of #2784 - nmeum:riscv64-enotsup, r=Amanieu
Browse files Browse the repository at this point in the history
Add ENOTSUP constant for riscv64 musl

Previously:

* #2595
* #1971
* #448

but not of these added the constant for riscv64 musl and rustc itself seems to use it nowadays.
  • Loading branch information
bors committed May 8, 2022
2 parents 78d6835 + 1c5bc66 commit 4f88b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/musl/b64/riscv64/mod.rs
Expand Up @@ -546,6 +546,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
pub const EPROTONOSUPPORT: ::c_int = 93;
pub const ESOCKTNOSUPPORT: ::c_int = 94;
pub const EOPNOTSUPP: ::c_int = 95;
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
pub const EPFNOSUPPORT: ::c_int = 96;
pub const EAFNOSUPPORT: ::c_int = 97;
pub const EADDRINUSE: ::c_int = 98;
Expand Down

0 comments on commit 4f88b8d

Please sign in to comment.