We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be00400 commit e7b4635Copy full SHA for e7b4635
1 file changed
std/src/sys/pal/unix/os.rs
@@ -119,7 +119,12 @@ pub fn error_string(errno: i32) -> String {
119
unsafe extern "C" {
120
#[cfg_attr(
121
all(
122
- any(target_os = "linux", target_os = "hurd", target_env = "newlib"),
+ any(
123
+ target_os = "linux",
124
+ target_os = "hurd",
125
+ target_env = "newlib",
126
+ target_os = "cygwin"
127
+ ),
128
not(target_env = "ohos")
129
),
130
link_name = "__xpg_strerror_r"
0 commit comments