diff options
| author | Michael Goulet <michael@errs.io> | 2023-08-22 09:00:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-22 09:00:50 -0700 |
| commit | 634ab606a4f48f7858e2d772dc9274f573d790fa (patch) | |
| tree | c918f5a63ebf42e7e438ef9179e58fbe86c6db8d /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 39066450e36022e92b6598e0c8724f2100685a8a (diff) | |
| parent | 0e070aa548e32f6ba8dd4cc28e9c71d9ccfb7ff3 (diff) | |
| download | rust-634ab606a4f48f7858e2d772dc9274f573d790fa.tar.gz rust-634ab606a4f48f7858e2d772dc9274f573d790fa.zip | |
Rollup merge of #115090 - eopb:dont-check-lib-bootstrap, r=ozkanonur
Always use `os-release` rather than `/lib` to detect `NixOS` (bootstrap) [Two users over on zulip](https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Bootstrapping.20on.20NixOS) bumped into issues where NixOS wasn't being properly detected. I believe this was caused by the presence of `/lib` on their machines. `/lib` is not standard on NixOS but can still be created by users or scripts. We are already checking `/etc/os-release`. The presence of `ID=nixos` in it's output should be trustworthy and we shouldn't then go on to also check for `/lib`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
