Skip to content

Commit 9a6c7f9

Browse files
committed
Move Redox support into unix module
1 parent 39ca01c commit 9a6c7f9

File tree

7 files changed

+191
-550
lines changed

7 files changed

+191
-550
lines changed

src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#![crate_name = "libc"]
1616
#![crate_type = "rlib"]
1717
#![cfg_attr(not(feature = "rustc-dep-of-std"), deny(warnings))]
18-
#![allow(bad_style, overflowing_literals, improper_ctypes, unknown_lints)]
18+
#![allow(bad_style, overflowing_literals, improper_ctypes, unknown_lints, unused_attributes)]
1919
// Attributes needed when building as part of the standard library
2020
#![cfg_attr(
2121
feature = "rustc-dep-of-std",
22-
feature(cfg_target_vendor, link_cfg, no_core)
22+
feature(link_cfg, no_core)
2323
)]
2424
// Enable extra lints:
2525
#![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))]
@@ -91,9 +91,6 @@ cfg_if! {
9191
if #[cfg(windows)] {
9292
mod windows;
9393
pub use windows::*;
94-
} else if #[cfg(target_os = "redox")] {
95-
mod redox;
96-
pub use redox::*;
9794
} else if #[cfg(target_os = "cloudabi")] {
9895
mod cloudabi;
9996
pub use cloudabi::*;

src/redox/align.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)