about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2022-03-01 16:06:06 -0800
committerJosh Triplett <josh@joshtriplett.org>2022-03-01 16:24:10 -0800
commit0f505c63775e9065e8174bb445f93da9f6c9870d (patch)
treef6c7e0ccbf257e0989d06794a1f09b974606816b /compiler/rustc_codegen_llvm/src/attributes.rs
parentf0c4da49983aa699f715caf681e3154b445fb60b (diff)
downloadrust-0f505c63775e9065e8174bb445f93da9f6c9870d.tar.gz
rust-0f505c63775e9065e8174bb445f93da9f6c9870d.zip
Add a copy of cfg_if to core's internal_macros.rs
core can't depend on external crates the way std can. Rather than revert
usage of cfg_if, add a copy of it to core. This does not export our
copy, even unstably; such a change could occur in a later commit.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions