about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMohsen Zohrevandi <mohsen.zohrevandi@fortanix.com>2020-11-12 09:11:05 -0800
committerMohsen Zohrevandi <mohsen.zohrevandi@fortanix.com>2020-11-12 09:11:05 -0800
commit084b0da933c2430e2ef80ae0e00ddf76e2bc5f10 (patch)
tree870c6953b086f3f8a399bb4dfb3b4854412acb48
parentd56969656eb0c933e9a7b442ebdc48b565f11f04 (diff)
downloadrust-084b0da933c2430e2ef80ae0e00ddf76e2bc5f10.tar.gz
rust-084b0da933c2430e2ef80ae0e00ddf76e2bc5f10.zip
Add missing stability attribute
-rw-r--r--library/std/src/sys/sgx/ext/io.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/sgx/ext/io.rs b/library/std/src/sys/sgx/ext/io.rs
index ffa926417e3..795a4d190cf 100644
--- a/library/std/src/sys/sgx/ext/io.rs
+++ b/library/std/src/sys/sgx/ext/io.rs
@@ -76,6 +76,7 @@ impl AsRawFd for net::TcpListener {
 
 /// Metadata for `TcpStream`.
 #[derive(Debug, Clone, Default)]
+#[unstable(feature = "sgx_platform", issue = "56975")]
 pub struct TcpStreamMetadata {
     /// Local address of the TCP stream
     pub local_addr: Option<String>,
@@ -95,6 +96,7 @@ impl FromRawFd for net::TcpStream {
 
 /// Metadata for `TcpListener`.
 #[derive(Debug, Clone, Default)]
+#[unstable(feature = "sgx_platform", issue = "56975")]
 pub struct TcpListenerMetadata {
     /// Local address of the TCP listener
     pub local_addr: Option<String>,