We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0926113 + 23a5092 commit 5066b7dCopy full SHA for 5066b7d
src/unix/mod.rs
@@ -55,9 +55,7 @@ s! {
55
pub ru_nvcsw: c_long,
56
pub ru_nivcsw: c_long,
57
58
- #[cfg(any(target_env = "musl",
59
- target_env = "musleabi",
60
- target_env = "musleabihf"))]
+ #[cfg(any(target_env = "musl"))]
61
__reserved: [c_long; 16],
62
}
63
@@ -199,9 +197,7 @@ cfg_if! {
199
197
} else if #[cfg(all(not(stdbuild), feature = "use_std"))] {
200
198
// cargo build, don't pull in anything extra as the libstd dep
201
// already pulls in all libs.
202
- } else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips")),
203
204
- target_env = "musleabihf"))] {
+ } else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips"))))] {
205
#[link(name = "c", kind = "static")]
206
extern {}
207
} else if #[cfg(target_os = "emscripten")] {
src/unix/notbsd/linux/mod.rs
@@ -93,13 +93,9 @@ s! {
93
94
95
pub struct pthread_cond_t {
96
97
98
99
__align: [*const ::c_void; 0],
100
- #[cfg(not(any(target_env = "musl",
101
102
- target_env = "musleabihf")))]
+ #[cfg(not(any(target_env = "musl")))]
103
__align: [::c_longlong; 0],
104
size: [u8; __SIZEOF_PTHREAD_COND_T],
105
@@ -663,8 +659,6 @@ extern {
663
659
664
660
cfg_if! {
665
661
if #[cfg(any(target_env = "musl",
666
667
- target_env = "musleabihf",
668
662
target_os = "emscripten"))] {
669
mod musl;
670
pub use self::musl::*;
src/unix/notbsd/mod.rs
@@ -100,21 +100,13 @@ s! {
pub struct sched_param {
pub sched_priority: ::c_int,
106
pub sched_ss_low_priority: ::c_int,
107
108
109
110
pub sched_ss_repl_period: ::timespec,
111
112
113
114
pub sched_ss_init_budget: ::timespec,
115
116
117
118
pub sched_ss_max_repl: ::c_int,
119
120
0 commit comments