diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/os.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/os.rs b/src/libstd/os.rs index b898b9a2df4..68ddabfd48f 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -1108,6 +1108,10 @@ extern "system" { /// Returns the arguments which this program was started with (normally passed /// via the command line). /// +/// The first element is traditionally the path to the executable, but it can be +/// set to arbitrary text, and it may not even exist, so this property should not +// be relied upon for security purposes. +/// /// The arguments are interpreted as utf-8, with invalid bytes replaced with \uFFFD. /// See `String::from_utf8_lossy` for details. /// # Example |
