about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-19 05:40:52 +0200
committerGitHub <noreply@github.com>2021-10-19 05:40:52 +0200
commit9dccb7bd890e456fe4a1344edd0a8b67c88a901a (patch)
tree914836a44927e84201c33428b55241cd9758042a /library/std/src/sys
parent0d990a3dbd7733a05c5ccdb99c123fac8938dcc6 (diff)
parent2f4cbf003fdfcd9763c24f09bbe8aae829fbd060 (diff)
Rollup merge of #89941 - hermitcore:kernel, r=joshtriplett
removing TLS support in x86_64-unknown-none-hermitkernel

HermitCore's kernel itself doesn't support TLS. Consequently, the entries in x86_64-unknown-none-hermitkernel should be removed. This commit should help to finalize #89062.
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/hermit/net.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/hermit/net.rs b/library/std/src/sys/hermit/net.rs
index 880ef678a4f..1a6b3bc63e6 100644
--- a/library/std/src/sys/hermit/net.rs
+++ b/library/std/src/sys/hermit/net.rs
@@ -182,7 +182,7 @@ impl TcpStream {
         Ok(self.clone())
     }
 
-    pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> {
+    pub fn set_linger(&self, _linger: Option<Duration>) -> io::Result<()> {
         unsupported()
     }