Skip to content

Commit 4f88b8d

Browse files
committed
Auto merge of #2784 - nmeum:riscv64-enotsup, r=Amanieu
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.
2 parents 78d6835 + 1c5bc66 commit 4f88b8d

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/musl/b64/riscv64

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/musl/b64/riscv64/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
546546
pub const EPROTONOSUPPORT: ::c_int = 93;
547547
pub const ESOCKTNOSUPPORT: ::c_int = 94;
548548
pub const EOPNOTSUPP: ::c_int = 95;
549+
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
549550
pub const EPFNOSUPPORT: ::c_int = 96;
550551
pub const EAFNOSUPPORT: ::c_int = 97;
551552
pub const EADDRINUSE: ::c_int = 98;

0 commit comments

Comments
 (0)