rsconf 0.3.0

The missing cargo API. A sane autoconf w/ build.rs helpers for testing for system headers, libraries, and symbols
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{0}

#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)

// Pass the macro itself, it will expand to its value
#define EXFILTRATE_MACRO_VALUE(macro) \
    _Pragma(STRINGIFY(message("EXFIL:::" TOSTRING(macro) ":::EXFIL")))

// Use our new macro to generate a pragma message
#ifdef {1}
EXFILTRATE_MACRO_VALUE({2});
#endif

int main() {{
    return 0;
}}