We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0191b49 + 8347450 commit f6b4e39Copy full SHA for f6b4e39
src/libstd/os.rs
@@ -1108,6 +1108,10 @@ extern "system" {
1108
/// Returns the arguments which this program was started with (normally passed
1109
/// via the command line).
1110
///
1111
+/// The first element is traditionally the path to the executable, but it can be
1112
+/// set to arbitrary text, and it may not even exist, so this property should not
1113
+// be relied upon for security purposes.
1114
+///
1115
/// The arguments are interpreted as utf-8, with invalid bytes replaced with \uFFFD.
1116
/// See `String::from_utf8_lossy` for details.
1117
/// # Example
0 commit comments