about summary refs log tree commit diff
path: root/library/std/src/sys_common/mod.rs
diff options
context:
space:
mode:
authorStefan Lankes <slankes@eonerc.rwth-aachen.de>2022-12-06 20:31:43 +0100
committerStefan Lankes <slankes@eonerc.rwth-aachen.de>2023-02-24 15:30:14 +0100
commit7143379a528d7a26afbe835dd7e4bdca4bdb1412 (patch)
tree8c4dd43751cdaf603f3ec9cffa1034c942b170d5 /library/std/src/sys_common/mod.rs
parent07c993eba8b76eae497e98433ae075b00f01be10 (diff)
downloadrust-7143379a528d7a26afbe835dd7e4bdca4bdb1412.tar.gz
rust-7143379a528d7a26afbe835dd7e4bdca4bdb1412.zip
add support of RustyHermit's BSD socket layer
RustHermit publishs a new kernel interface and supports
a common BSD socket layer. By supporting this interface,
the implementation can be harmonized to other operating systems.

To realize this socket layer, the handling of file descriptors
is also harmonized to other operating systems.
Diffstat (limited to 'library/std/src/sys_common/mod.rs')
-rw-r--r--library/std/src/sys_common/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/sys_common/mod.rs b/library/std/src/sys_common/mod.rs
index 6b24b0e9aa8..e9c727cbbd1 100644
--- a/library/std/src/sys_common/mod.rs
+++ b/library/std/src/sys_common/mod.rs
@@ -44,7 +44,6 @@ cfg_if::cfg_if! {
 
 cfg_if::cfg_if! {
     if #[cfg(any(target_os = "l4re",
-                 target_os = "hermit",
                  feature = "restricted-std",
                  all(target_family = "wasm", not(target_os = "emscripten")),
                  all(target_vendor = "fortanix", target_env = "sgx")))] {