Skip to content

Commit

Permalink
Make more clear why no libraries are linked to L4Re
Browse files Browse the repository at this point in the history
  • Loading branch information
humenda committed Aug 18, 2017
1 parent dc0a182 commit cc58834
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,10 @@ pub const INADDR_BROADCAST: in_addr_t = 4294967295;
pub const INADDR_NONE: in_addr_t = 4294967295;

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

0 comments on commit cc58834

Please sign in to comment.