about summary refs log tree commit diff
path: root/library/std/src/env.rs
AgeCommit message (Expand)AuthorLines
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
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