about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-05 09:33:20 +0200
committerGitHub <noreply@github.com>2022-04-05 09:33:20 +0200
commitb7047c2bc2752f0e0f6763b9a771eda53677124a (patch)
tree97cf533b4eed586b77fb9174b97f0d500d0928be /compiler/rustc_codegen_gcc/example/example.rs
parent949b98cab8a186b98bf87e64374b8d0848c55271 (diff)
parent76756ccb3ab1f06a034878d6cb50672f5c8d1331 (diff)
downloadrust-b7047c2bc2752f0e0f6763b9a771eda53677124a.tar.gz
rust-b7047c2bc2752f0e0f6763b9a771eda53677124a.zip
Rollup merge of #95234 - ben0x539:nixquotes, r=Dylan-DPC
bootstrap.py: nixos check in /etc/os-release with quotes

Per https://www.freedesktop.org/software/systemd/man/os-release.html,

> Variable assignment values must be enclosed in double or single quotes
> if they include spaces, semicolons or other special characters outside
> of A–Z, a–z, 0–9. (Assignments that do not include these special
> characters may be enclosed in quotes too, but this is optional.)

So, past `ID=nixos`, let's also check for `ID='nixos'` and `ID="nixos"`.

One of these is necessary between nixos/nixpkgs#162168 and
nixos/nixpkgs#164068, but this seems more correct either way.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions