about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-23 02:51:48 +0100
committerGitHub <noreply@github.com>2021-02-23 02:51:48 +0100
commitc3de8ab9082be2c838132f2547d681633c2bb6fc (patch)
tree2a1c782fc6aa8a1e01019c94f5b4bbccead297b6 /compiler/rustc_codegen_llvm/src
parent4af965e73262190137a86b44fc2f75da7fb54eab (diff)
parent7bc501687b39a9d47938c58f2661b54f014ff7d3 (diff)
downloadrust-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