3 ms·
The main Rust syntax is OK, but as the author points out, macros are a mess. The "cfg" directive is closer to the syntax used in ".toml" files than to Rust its
by Animats 5y ago
The main Rust syntax is OK, but as the author points out, macros are a mess.
The "cfg" directive is closer to the syntax used in ".toml" files than to Rust itself, because some of the same configuration info appears in both places. The author is doing something with non-portable cross platform code, and apparently needs more configuration dependencies than most.