]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #61720 - alexcrichton:libstd-cfg-if-dep, r=sfackler
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 13 Jun 2019 12:51:56 +0000 (14:51 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2019 12:51:56 +0000 (14:51 +0200)
std: Remove internal definitions of `cfg_if!` macro

This is duplicated in a few locations throughout the sysroot to work
around issues with not exporting a macro in libstd but still wanting it
available to sysroot crates to define blocks. Nowadays though we can
simply depend on the `cfg-if` crate on crates.io, allowing us to use it
from there!

1  2 
Cargo.lock
src/libstd/macros.rs

diff --cc Cargo.lock
Simple merge
Simple merge