Files
rust/library/std/src
Dylan DPC d01648b60e Rollup merge of #82949 - the8472:forget-envlock-on-fork, r=joshtriplett
Do not attempt to unlock envlock in child process after a fork.

This implements the first two points from https://github.com/rust-lang/rust/issues/64718#issuecomment-793030479

This is a breaking change for cases where the environment is accessed in a Command::pre_exec closure. Except for single-threaded programs these uses were not correct anyway since they aren't async-signal safe.

Note that we had a ui test that explicitly tried `env::set_var` in `pre_exec`. As expected it failed with these changes when I tested locally.
2021-03-10 17:55:43 +01:00
..
2021-02-06 13:05:56 +01:00
2020-11-07 16:15:48 +01:00
2020-10-21 20:44:03 -07:00
2021-01-07 09:13:21 +01:00
2021-01-23 11:56:33 -06:00
2021-02-26 19:03:44 +01:00
2021-02-26 19:03:44 +01:00
2021-01-31 11:07:37 +01:00
2021-02-28 12:57:38 -08:00
2021-02-23 15:54:55 +01:00
2021-02-13 16:59:06 +01:00
2020-11-22 17:11:41 -05:00