about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-03-26 04:02:54 -0400
committerTrevor Gross <tmgross@umich.edu>2024-04-10 13:50:27 -0400
commit143ecc3202e033cf843bc05c06d29cd3e4033497 (patch)
treec4c10a6dd90d1c25eced18379ef89d8eb2204b32 /library/std/src/lib.rs
parent454de78ea3073a284a7a8a41184789f9afa066a3 (diff)
downloadrust-143ecc3202e033cf843bc05c06d29cd3e4033497.tar.gz
rust-143ecc3202e033cf843bc05c06d29cd3e4033497.zip
Add basic f16 and f128 modules
Create empty modules so `rustdoc` has someplace to link to for these
types.
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index c713eefc72c..2d7a9b7ce33 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -283,6 +283,8 @@
 #![feature(doc_masked)]
 #![feature(doc_notable_trait)]
 #![feature(dropck_eyepatch)]
+#![feature(f128)]
+#![feature(f16)]
 #![feature(if_let_guard)]
 #![feature(intra_doc_pointers)]
 #![feature(lang_items)]
@@ -558,6 +560,10 @@ pub use core::u8;
 #[allow(deprecated, deprecated_in_future)]
 pub use core::usize;
 
+#[unstable(feature = "f128", issue = "116909")]
+pub mod f128;
+#[unstable(feature = "f16", issue = "116909")]
+pub mod f16;
 pub mod f32;
 pub mod f64;