Skip to content

Commit cc58834

Browse files
committed
Make more clear why no libraries are linked to L4Re
1 parent dc0a182 commit cc58834

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/unix/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,10 @@ pub const INADDR_BROADCAST: in_addr_t = 4294967295;
230230
pub const INADDR_NONE: in_addr_t = 4294967295;
231231

232232
cfg_if! {
233-
if #[cfg(any(dox, target_os = "l4re"))] {
233+
if #[cfg(dox)] {
234234
// on dox builds don't pull in anything
235+
} else if #[cfg(target_os = "l4re")] {
236+
// required libraries for L4Re are linked externally, ATM
235237
} else if #[cfg(all(not(stdbuild), feature = "use_std"))] {
236238
// cargo build, don't pull in anything extra as the libstd dep
237239
// already pulls in all libs.

0 commit comments

Comments
 (0)