How exactly does the cfg_if!
macro do its thing?
First of all what is the cfg_if!
macro?
It's a macro to help you pick a set of code based on compile-time configutation.
There is a sample usage on the docs page:
How exactly does the cfg_if!
macro do its thing?
First of all what is the cfg_if!
macro?
It's a macro to help you pick a set of code based on compile-time configutation.
There is a sample usage on the docs page: