diff options
| author | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2020-03-19 07:46:50 +0100 |
|---|---|---|
| committer | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2020-03-19 08:01:45 +0100 |
| commit | c6435759b5039fa6483aa5a8775fc7a11db0154f (patch) | |
| tree | 9fd508cc2c719cef969628e26682733bbab24de8 /src/libstd/os | |
| parent | 57e1da59cd0761330b4ea8d47b16340a78eeafa9 (diff) | |
| download | rust-c6435759b5039fa6483aa5a8775fc7a11db0154f.tar.gz rust-c6435759b5039fa6483aa5a8775fc7a11db0154f.zip | |
add basic support of OsStrExt for HermitCore
this patch increases the compatibility to other operating systems
Diffstat (limited to 'src/libstd/os')
| -rw-r--r-- | src/libstd/os/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/os/mod.rs b/src/libstd/os/mod.rs index 91e37ed833a..0fa4a1d2353 100644 --- a/src/libstd/os/mod.rs +++ b/src/libstd/os/mod.rs @@ -24,7 +24,7 @@ cfg_if::cfg_if! { // If we're not documenting libstd then we just expose the main modules // as we otherwise would. - #[cfg(any(target_os = "redox", unix, target_os = "vxworks"))] + #[cfg(any(target_os = "redox", unix, target_os = "vxworks", target_os = "hermit"))] #[stable(feature = "rust1", since = "1.0.0")] pub use crate::sys::ext as unix; |
