about summary refs log tree commit diff
path: root/library/std/src/env.rs
AgeCommit message (Expand)AuthorLines
2025-08-26remove deprecated Error::description in implsMarijn Schouten-9/+1
2025-07-26Rollup merge of #141840 - ChrisDenton:noempty, r=ChrisDentonJacob Pratt-1/+1
2025-06-06Add new Tier-3 targets: `loongarch32-unknown-none*`WANG Rui-0/+1
2025-05-31If HOME is empty, use the fallback insteadChris Denton-1/+1
2025-05-01Delegate to inner `vec::IntoIter` from `env::ArgsOs`Thalia Archibald-1/+72
2025-04-21Move `sys::pal::os::Env` into `sys::env`Thalia Archibald-6/+6
2025-04-18Combine env consts into std::sys::env_constsThalia Archibald-1/+1
2025-03-18Rollup merge of #136320 - RalfJung:exit, r=the8472Matthias Krüger-1/+1
2025-03-07Mention `env` and `option_env` macros in `std::env::var` docsGuillaume Gomez-0/+3
2025-03-06Rollup merge of #137327 - arlosi:home-dir, r=Mark-SimulacrumMichael Goulet-5/+0
2025-03-04exit: document interaction with CRalf Jung-1/+1
2025-02-20Undeprecate env::home_dirArlo Siemsen-5/+0
2025-02-21Correct doc about `temp_dir()` behavior on AndroidWang Han-1/+3
2025-02-13std: Apply deprecated_safe_2024Eric Huss-1/+1
2025-01-26Move std::env unit tests to integration testsbjorn3-3/+0
2025-01-17doc: Point to methods on `Command` as alternatives to `set/remove_var`clubby789-0/+8
2025-01-08update version placeholdersPietro Albini-1/+1
2024-12-05Expand home_dir docsChris Denton-0/+7
2024-11-30Rollup merge of #132515 - kornelski:home_fix, r=jhpratt许杰友 Jieyou Xu (Joe)-10/+6
2024-11-23Rollup merge of #131505 - madsmtm:darwin_user_temp_dir, r=dtolnay许杰友 Jieyou Xu (Joe)-3/+12
2024-11-04Fix and undeprecate home_dir()Kornel-10/+6
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-1/+1
2024-10-10use `confstr(_CS_DARWIN_USER_TEMP_DIR, ...)` as a `TMPDIR` fallback on darwinThom Chiovoloni-3/+12
2024-09-17Rollup merge of #128535 - mmvanheusden:master, r=workingjubileeMatthias Krüger-66/+107
2024-09-05update cfgsBoxy-12/+4
2024-08-18Rollup merge of #128902 - evanj:evan.jones/env-var-doc, r=workingjubileeTrevor Gross-6/+5
2024-08-18code review improvementsEvan Jones-9/+5
2024-08-16Refer to other docsMaarten-23/+3
2024-08-15Add unordered list with possible values for each constMaarten-64/+125
2024-08-15Format std::env::consts docstringsMaarten-37/+37
2024-08-13`#[deprecated_safe_2024]`: Also use the `// TODO:` hint in the compiler errorTobias Bucher-2/+2
2024-08-13Allow to customize `// TODO:` comment for deprecated safe autofixTobias Bucher-2/+14
2024-08-09doc: std::env::var: Returns None for names with '=' or NUL byteEvan Jones-5/+8
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+1
2024-07-16Rollup merge of #125206 - mgeisler:simplify-std-env-vars, r=jhpratt,tgross35Trevor Gross-10/+4
2024-07-14std: Directly call unsafe {un,}setenv in envJubilee Young-11/+4
2024-07-14std: deny(unsafe_op_in_unsafe_fn) but allow sitesJubilee Young-0/+1
2024-06-12Auto merge of #126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrumbors-16/+0
2024-06-11set_env: State the conclusion upfrontChris Denton-4/+8
2024-06-11remove cfg(bootstrap)Pietro Albini-16/+0
2024-05-29Elaborate about modifying env vars in multi-threaded programsTobias Bucher-18/+28
2024-05-29Add note about safety of `std::env::set_var` on WindowsTobias Bucher-5/+11
2024-05-29Make `std::env::{set_var, remove_var}` unsafe in edition 2024Tobias Bucher-20/+34
2024-05-21Simplify environment variable examplesMartin Geisler-10/+4
2024-02-29Remove doc aliases to PATHTrevor Gross-2/+0
2024-02-29Rollup merge of #119748 - tgross35:suggest-path-split, r=AmanieuJacob Pratt-1/+17
2024-02-18Add uncontroversial syscall doc aliases to std docsSabrinaJewson-1/+2
2024-02-10Fix typoJosh Triplett-1/+1
2024-01-08Increase visibility of `join_path` and `split_paths`Trevor Gross-1/+17
2023-12-13Reformulate `std::env::{set,remove}_env` as safety noteTobias Bucher-24/+36