Refer to other docs · qinheping/verify-rust-std@028104e (original) (raw)

Original file line number Diff line number Diff line change
@@ -983,6 +983,7 @@ pub mod consts {
983 983 /// * `"unix"`
984 984 /// * `"windows"`
985 985 /// * `"itron"`
986 + /// * `"wasm"`
986 987 /// * `""`
987 988 ///
988 989 ///
@@ -1041,18 +1042,7 @@ pub mod consts {
1041 1042 /// Specifies the filename suffix, if any, used for shared libraries on this platform.
1042 1043 /// An example value may be: `".so"`, `".elf"`, or `".dll"`.
1043 1044 ///
1044 - ///
Full list of possible values
1045 - ///
1046 - /// * `".so"`
1047 - /// * `".dylib"`
1048 - /// * `".dll"`
1049 - /// * `".sgxs"`
1050 - /// * `".a"`
1051 - /// * `".elf"`
1052 - /// * `".wasm"`
1053 - /// * `""` (an empty string)
1054 - ///
1055 - ///
1045 + /// The possible values are identical to those of [`DLL_EXTENSION`], but with the leading period included.
1056 1046 #[stable(feature = "env", since = "1.0.0")]
1057 1047 pub const DLL_SUFFIX: &str = os::DLL_SUFFIX;
1058 1048
@@ -1077,17 +1067,7 @@ pub mod consts {
1077 1067 /// Specifies the filename suffix, if any, used for executable binaries on this platform.
1078 1068 /// An example value may be: `".exe"`, or `".efi"`.
1079 1069 ///
1080 - ///
Full list of possible values
1081 - ///
1082 - /// * `".exe"`
1083 - /// * `".efi"`
1084 - /// * `".js"`
1085 - /// * `".sgxs"`
1086 - /// * `".elf"`
1087 - /// * `".wasm"`
1088 - /// * `""` (an empty string)
1089 - ///
1090 - ///
1070 + /// The possible values are identical to those of [`EXE_EXTENSION`], but with the leading period included.
1091 1071 #[stable(feature = "env", since = "1.0.0")]
1092 1072 pub const EXE_SUFFIX: &str = os::EXE_SUFFIX;
1093 1073