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.
1 parent e412497 commit 85f181cCopy full SHA for 85f181c
src/unix/mod.rs
@@ -230,8 +230,9 @@ pub const INADDR_BROADCAST: in_addr_t = 4294967295;
230
pub const INADDR_NONE: in_addr_t = 4294967295;
231
232
cfg_if! {
233
- if #[cfg(dox)] {
+ if #[cfg(any(dox, target_os = "l4re"))] {
234
// on dox builds don't pull in anything
235
+ // L4Re builds pass the required libs using -Z to the compiler.
236
} else if #[cfg(all(not(stdbuild), feature = "use_std"))] {
237
// cargo build, don't pull in anything extra as the libstd dep
238
// already pulls in all libs.
0 commit comments