rust-lang / cfg-if

A if/elif-like macro for Rust #[cfg] statements
Apache License 2.0
557 stars 40 forks source link

newer features break older Rust support and by extension log crate's API #30

Closed cardoe closed 5 years ago

cardoe commented 5 years ago

https://github.com/alexcrichton/cfg-if/commit/75e817fa2cdd9d3cb2c558fa91ba3dacdbfa8d73 appears to have broken the support for older Rust version such as 1.16.0 which the https://github.com/rust-lang-nursery/log crate says it will always support.

cardoe commented 5 years ago

Due to this issue, this has broken log as noted here https://github.com/rust-lang-nursery/log/issues/358

alexcrichton commented 5 years ago

Thanks for the report, but I do not support Rust 1.16.0 with this crate, so I'm going to close this.