]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #102353 - bjorn3:allow_rustix_use_libc, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 2 Oct 2022 01:16:38 +0000 (03:16 +0200)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 01:16:38 +0000 (03:16 +0200)
Allow passing rustix_use_libc cfg using RUSTFLAGS

Before this would error with

```
error: unexpected `rustix_use_libc` as condition name
  |
  = note: `-D unexpected-cfgs` implied by `-D warnings`
  = help: was set with `--cfg` but isn't in the `--check-cfg` expected names
```

I'm setting rustix_use_libc when testing bootstrapping rustc with cg_clif as I'm disabling inline asm here.

1  2 
src/bootstrap/lib.rs

Simple merge