@@ -598,40 +598,93 @@ pub fn page_size() -> usize {
598598pub mod consts {
599599 /// A string describing the architecture of the CPU that this is currently
600600 /// in use.
601+ ///
602+ /// Possible values:
603+ ///
604+ /// - x86
605+ /// - x86_64
606+ /// - arm
607+ /// - aarch64
608+ /// - mips
609+ /// - mipsel
610+ /// - powerpc
601611 #[ stable( feature = "env" , since = "1.0.0" ) ]
602612 pub const ARCH : & ' static str = super :: arch:: ARCH ;
603613
604614 /// The family of the operating system. In this case, `unix`.
615+ ///
616+ /// Possible values:
617+ ///
618+ /// - unix
619+ /// - windows
605620 #[ stable( feature = "env" , since = "1.0.0" ) ]
606621 pub const FAMILY : & ' static str = super :: os:: FAMILY ;
607622
608623 /// A string describing the specific operating system in use: in this
609624 /// case, `linux`.
625+ ///
626+ /// Possible values:
627+ ///
628+ /// - linux
629+ /// - macos
630+ /// - ios
631+ /// - freebsd
632+ /// - dragonfly
633+ /// - bitrig
634+ /// - openbsd
635+ /// - android
610636 #[ stable( feature = "env" , since = "1.0.0" ) ]
611637 pub const OS : & ' static str = super :: os:: OS ;
612638
613639 /// Specifies the filename prefix used for shared libraries on this
614640 /// platform: in this case, `lib`.
641+ ///
642+ /// Possible values:
643+ ///
644+ /// - lib
645+ /// - `""` (an empty string)
615646 #[ stable( feature = "env" , since = "1.0.0" ) ]
616647 pub const DLL_PREFIX : & ' static str = super :: os:: DLL_PREFIX ;
617648
618649 /// Specifies the filename suffix used for shared libraries on this
619650 /// platform: in this case, `.so`.
651+ ///
652+ /// Possible values:
653+ ///
654+ /// - .so
655+ /// - .dylib
656+ /// - .dll
620657 #[ stable( feature = "env" , since = "1.0.0" ) ]
621658 pub const DLL_SUFFIX : & ' static str = super :: os:: DLL_SUFFIX ;
622659
623660 /// Specifies the file extension used for shared libraries on this
624661 /// platform that goes after the dot: in this case, `so`.
662+ ///
663+ /// Possible values:
664+ ///
665+ /// - .so
666+ /// - .dylib
667+ /// - .dll
625668 #[ stable( feature = "env" , since = "1.0.0" ) ]
626669 pub const DLL_EXTENSION : & ' static str = super :: os:: DLL_EXTENSION ;
627670
628671 /// Specifies the filename suffix used for executable binaries on this
629672 /// platform: in this case, the empty string.
673+ ///
674+ /// Possible values:
675+ ///
676+ /// - exe
677+ /// - `""` (an empty string)
630678 #[ stable( feature = "env" , since = "1.0.0" ) ]
631679 pub const EXE_SUFFIX : & ' static str = super :: os:: EXE_SUFFIX ;
632680
633681 /// Specifies the file extension, if any, used for executable binaries
634682 /// on this platform: in this case, the empty string.
683+ ///
684+ /// Possible values:
685+ ///
686+ /// - exe
687+ /// - `""` (an empty string)
635688 #[ stable( feature = "env" , since = "1.0.0" ) ]
636689 pub const EXE_EXTENSION : & ' static str = super :: os:: EXE_EXTENSION ;
637690
0 commit comments