about summary refs log tree commit diff
path: root/library/std/src/env.rs
AgeCommit message (Expand)AuthorLines
2023-12-13Reformulate `std::env::{set,remove}_env` as safety noteTobias Bucher-24/+36
2023-10-18Add discussion that concurrent access to the environment is unsafeTobias Bucher-10/+28
2023-08-14add a csky-unknown-linux-gnuabiv2 targetDirreke-0/+1
2023-08-07Better Debug for Vars and VarsOsTamir Duberstein-4/+8
2023-04-11Rollup merge of #109894 - fleetingbytes:109893-var_os-never-returns-an-error,...Michael Goulet-12/+5
2023-04-11Break up long first paragraphfleetingbytes-3/+4
2023-04-04library/std: Add support for loongarch64zhaixiaojuan-0/+1
2023-04-03Preserve potential mood for equal or NUL signfleetingbytes-5/+3
2023-04-03Remove redundant empty linefleetingbytes-1/+0
2023-04-03remove self-reference in var_os docfleetingbytes-1/+0
2023-04-03add situation where var_os returns Nonefleetingbytes-1/+7
2023-04-03Update env.rsfleetingbytes-10/+0
2022-12-11Rollup merge of #101648 - Timmmm:home_dir_docs, r=joshtriplettMatthias Krüger-1/+8
2022-10-03Reword "has no meaning" per suggestionTim-2/+2
2022-09-28env::temp_dir: fix a typoRalf Jung-1/+1
2022-09-10Better documentation for env::home_dir()'s broken behaviourTim Hutt-1/+8
2022-05-24add aliases for current_dirjulio-0/+3
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-3/+3
2022-05-03Remove hard links from `env::current_exe` security exampleMartin Geisler-30/+17
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-3/+3
2022-03-27Link to std::io's platform-specific behavior disclaimerDavid Tolnay-2/+6
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-12/+12
2022-02-11Add missing platform-specific information on current_dir and set_current_dirGuillaume Gomez-0/+10
2021-12-09Rollup merge of #89999 - talagrand:GetTempPath2, r=m-ou-seMatthias Krüger-12/+9
2021-10-30Add #[must_use] to remaining std functions (A-N)John Kugelman-0/+8
2021-10-18Update std::env::temp_dir to use GetTempPath2 on Windows when available.Eugene Talagrand-12/+9
2021-09-17library/std/env: Add 'm68k' to comment on ARCH constantJohn Paul Adrian Glaubitz-0/+1
2021-08-27Document `std::env::current_exe` rename behaviourChris Denton-0/+3
2021-08-17Fix environment variable getter docsinquisitivecrystal-5/+14
2021-08-02Rollup merge of #86183 - inquisitivecrystal:env-nul, r=m-ou-seYuki Okushi-17/+9
2021-07-29Fix may not to appropriate might not or must notAli Malik-4/+4
2021-07-23Fix parameter names in std::env documentation.Érico Nogueira Rolim-4/+3
2021-07-05Improve env var getter docsAris Merchant-8/+5
2021-07-05Make `getenv` return an Option instead of a ResultAris Merchant-1/+1
2021-07-05Change env var getters to error recoverablyAris Merchant-15/+10
2021-06-23Use HTTPS links where possibleSmitty-2/+2
2021-05-10change k to key and v to v in std::env modshirshak55-10/+10
2021-05-05Rollup merge of #84709 - joshtriplett:doc-alias-chdir, r=dtolnayRalf Jung-0/+1
2021-04-29Add doc alias for `chdir` to `std::env::set_current_dir`Josh Triplett-0/+1
2021-04-29Link between std::env::{var, var_os} and std::env::{vars, vars_os}r00ster91-2/+11
2021-04-27Make sentence in env::args_os' docs plain and simpler00ster-1/+1
2021-04-25Change wordingr00ster-2/+2
2021-04-25Unify the docs of std::env::{args_os, args} morer00ster-8/+16
2021-04-22Rollup merge of #84413 - CDirkx:args_inner_debug, r=m-ou-seDylan DPC-2/+2
2021-04-22Remove `sys::args::Args::inner_debug` and use `Debug` insteadChristiaan Dirkx-2/+2
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-3/+3
2021-01-20Document security implications of std::env::temp_dirJosh Triplett-6/+9
2020-09-04Improve docs for `std::env::args()`Camelid-6/+6
2020-08-31Rollup merge of #75945 - pickfire:patch-7, r=jyn514Tyler Mandry-26/+25
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-109/+3