diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-02-23 02:51:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-23 02:51:48 +0100 |
| commit | c3de8ab9082be2c838132f2547d681633c2bb6fc (patch) | |
| tree | 2a1c782fc6aa8a1e01019c94f5b4bbccead297b6 /compiler/rustc_codegen_llvm/src | |
| parent | 4af965e73262190137a86b44fc2f75da7fb54eab (diff) | |
| parent | 7bc501687b39a9d47938c58f2661b54f014ff7d3 (diff) | |
| download | rust-c3de8ab9082be2c838132f2547d681633c2bb6fc.tar.gz rust-c3de8ab9082be2c838132f2547d681633c2bb6fc.zip | |
Rollup merge of #81969 - jonas-schievink:no-cfg-if, r=Mark-Simulacrum
Avoid `cfg_if` in `std::os`
rust-analyzer cannot currently load the `cfg_if` crate, which means that rust-analyzer is unable to see `std::os::{unix, windows, linux}` here. This works around that by avoiding `cfg_if`; the `#[cfg]` expressions are simple enough to reasonably write by hand.
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/6038
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
