about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-06-19 14:29:31 +0200
committerGitHub <noreply@github.com>2020-06-19 14:29:31 +0200
commit0404788178af764e8c5be87cd60a7e02a93f6178 (patch)
tree9d233035c818e3df3e561ca9b2cc566934587144 /library/std/src/sys/unix/stack_overflow.rs
parent45aa36bae5b3cfcd0c585d1ab680a27ac3e92315 (diff)
parent93022be9917a472f7a16410ce7cb2b76a5d3afdd (diff)
downloadrust-0404788178af764e8c5be87cd60a7e02a93f6178.tar.gz
rust-0404788178af764e8c5be87cd60a7e02a93f6178.zip
Rollup merge of #73317 - davidtwco:bootstrap-config-env-var, r=Mark-Simulacrum
bootstrap: read config from $RUST_BOOTSTRAP_CONFIG

This PR modifies bootstrap so that `config.toml` is read first from `RUST_BOOTSTRAP_CONFIG`, then `--config` and finally `config.toml` in the current directory.

This is a subjective change, intended to improve the ergnomics when using "development shells" for rustc development (for example, using tools such as Nix) which set environment variables to ensure a reproducible environment (these development shells can then be version controlled, e.g. [my rustc shell](https://github.com/davidtwco/veritas/blob/6b74a5c170b6efb2c7b094352932f9158f97eec0/nix/shells/rustc.nix)). By optionally reading `config.toml` from an environment variable, a `config.toml` can be defined in the development shell and a path to it exposed in the `RUST_BOOTSTRAP_CONFIG` environment variable - avoiding the need to manually symlink the contents of this file to `config.toml` in the working directory.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions