@@ -598,40 +598,93 @@ pub fn page_size() -> usize {
598
598
pub mod consts {
599
599
/// A string describing the architecture of the CPU that this is currently
600
600
/// in use.
601
+ ///
602
+ /// Possible values:
603
+ ///
604
+ /// - x86
605
+ /// - x86_64
606
+ /// - arm
607
+ /// - aarch64
608
+ /// - mips
609
+ /// - mipsel
610
+ /// - powerpc
601
611
#[ stable( feature = "env" , since = "1.0.0" ) ]
602
612
pub const ARCH : & ' static str = super :: arch:: ARCH ;
603
613
604
614
/// The family of the operating system. In this case, `unix`.
615
+ ///
616
+ /// Possible values:
617
+ ///
618
+ /// - unix
619
+ /// - windows
605
620
#[ stable( feature = "env" , since = "1.0.0" ) ]
606
621
pub const FAMILY : & ' static str = super :: os:: FAMILY ;
607
622
608
623
/// A string describing the specific operating system in use: in this
609
624
/// case, `linux`.
625
+ ///
626
+ /// Possible values:
627
+ ///
628
+ /// - linux
629
+ /// - macos
630
+ /// - ios
631
+ /// - freebsd
632
+ /// - dragonfly
633
+ /// - bitrig
634
+ /// - openbsd
635
+ /// - android
610
636
#[ stable( feature = "env" , since = "1.0.0" ) ]
611
637
pub const OS : & ' static str = super :: os:: OS ;
612
638
613
639
/// Specifies the filename prefix used for shared libraries on this
614
640
/// platform: in this case, `lib`.
641
+ ///
642
+ /// Possible values:
643
+ ///
644
+ /// - lib
645
+ /// - `""` (an empty string)
615
646
#[ stable( feature = "env" , since = "1.0.0" ) ]
616
647
pub const DLL_PREFIX : & ' static str = super :: os:: DLL_PREFIX ;
617
648
618
649
/// Specifies the filename suffix used for shared libraries on this
619
650
/// platform: in this case, `.so`.
651
+ ///
652
+ /// Possible values:
653
+ ///
654
+ /// - .so
655
+ /// - .dylib
656
+ /// - .dll
620
657
#[ stable( feature = "env" , since = "1.0.0" ) ]
621
658
pub const DLL_SUFFIX : & ' static str = super :: os:: DLL_SUFFIX ;
622
659
623
660
/// Specifies the file extension used for shared libraries on this
624
661
/// platform that goes after the dot: in this case, `so`.
662
+ ///
663
+ /// Possible values:
664
+ ///
665
+ /// - .so
666
+ /// - .dylib
667
+ /// - .dll
625
668
#[ stable( feature = "env" , since = "1.0.0" ) ]
626
669
pub const DLL_EXTENSION : & ' static str = super :: os:: DLL_EXTENSION ;
627
670
628
671
/// Specifies the filename suffix used for executable binaries on this
629
672
/// platform: in this case, the empty string.
673
+ ///
674
+ /// Possible values:
675
+ ///
676
+ /// - exe
677
+ /// - `""` (an empty string)
630
678
#[ stable( feature = "env" , since = "1.0.0" ) ]
631
679
pub const EXE_SUFFIX : & ' static str = super :: os:: EXE_SUFFIX ;
632
680
633
681
/// Specifies the file extension, if any, used for executable binaries
634
682
/// on this platform: in this case, the empty string.
683
+ ///
684
+ /// Possible values:
685
+ ///
686
+ /// - exe
687
+ /// - `""` (an empty string)
635
688
#[ stable( feature = "env" , since = "1.0.0" ) ]
636
689
pub const EXE_EXTENSION : & ' static str = super :: os:: EXE_EXTENSION ;
637
690
0 commit comments