Rollup merge of #82712 - CDirkx:cfg-target_os, r=dtolnay
Remove unnecessary conditional `cfg(target_os)` for `redox` and `vxworks` `redox` and `vxworks` are now part of target_family `unix`, thus `cfg(unix)` already implies `cfg(target_os="redox")` and `cfg(target_os="vxworks")`35dbef2350/compiler/rustc_target/src/spec/redox_base.rs (L26)
35dbef2350/compiler/rustc_target/src/spec/vxworks_base.rs (L27)
This commit is contained in:
commit
68d4ff04ee
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ pub use crate::sys::wasi_ext as wasi;
|
|||
// If we're not documenting libstd then we just expose the main modules as we otherwise would.
|
||||
|
||||
#[cfg(not(doc))]
|
||||
#[cfg(any(target_os = "redox", unix, target_os = "vxworks", target_os = "hermit"))]
|
||||
#[cfg(any(unix, target_os = "hermit"))]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub use crate::sys::ext as unix;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue