Skip to content

Commit

Permalink
Re-enable networking module fo rL4Re
Browse files Browse the repository at this point in the history
As suggested in the discussion of PR rust-lang#43972, std should provide a uniform API to
all platforms. Since there's no networking on L4Re, this now is a module in
`sys::net` providing types and functions/methods returning an error for each
action.
  • Loading branch information
humenda committed Sep 6, 2017
1 parent 5089909 commit 9b3785f
Show file tree
Hide file tree
Showing 6 changed files with 450 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ pub mod error;
pub mod ffi;
pub mod fs;
pub mod io;
#[cfg(not(target_os = "l4re"))]
pub mod net;
pub mod num;
pub mod os;
Expand Down
1 change: 0 additions & 1 deletion src/libstd/sys/unix/ext/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ pub mod fs;
pub mod process;
pub mod raw;
pub mod thread;
#[cfg(not(target_os = "l4re"))]
pub mod net;

/// A prelude for conveniently writing platform-specific code.
Expand Down
Loading

0 comments on commit 9b3785f

Please sign in to comment.