Closed d3zd3z closed 5 years ago
Just to confirm, but are you using the most recent version of cfg-if? The master branch is supposed to solve these issues
The master branch is supposed to solve these issues
this was a little bit confusing, but after a second review, afaict, there aren't any newer changes yet to be released, and "0.1.6 is in theory compatible with the 2018 edition macro import story".
seems like this crate is definitely work looking into further
Ah yeah thanks for the reminder! I think this can be closed
In order to use cfg-if with Rust 2018 style 'use' for macros, it is necessary to also import
__cfg_if_apply
, and__cfg_if_items
. Perhaps these can be referenced via $crate so that the cfg_if macro will work even as the only macro imported.