We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e4e55a commit 8347450Copy full SHA for 8347450
src/libstd/os.rs
@@ -1083,6 +1083,10 @@ extern "system" {
1083
/// Returns the arguments which this program was started with (normally passed
1084
/// via the command line).
1085
///
1086
+/// The first element is traditionally the path to the executable, but it can be
1087
+/// set to arbitrary text, and it may not even exist, so this property should not
1088
+// be relied upon for security purposes.
1089
+///
1090
/// The arguments are interpreted as utf-8, with invalid bytes replaced with \uFFFD.
1091
/// See `String::from_utf8_lossy` for details.
1092
/// # Example
0 commit comments