Timeline for Tag [cfg] was created again
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 18, 2023 at 13:09 | comment | added | Gimby | Yeah this is clearly a case for the blacklist IMO. There are three-letter acronyms and then there is CFG which might be the ringleader. | |
Aug 14, 2023 at 20:57 | comment | added | user4581301 | Can't say I'm a big fan of TLAs. Too many collisions. Canadian Food Guide, for example in this case. | |
Aug 13, 2023 at 9:04 | history | edited | markalex | CC BY-SA 4.0 |
added 107 characters in body
|
Aug 12, 2023 at 15:43 | comment | added | kmdreko |
As a Rust curator, tagging [conditional-compilation] is more prevalent and clear to me for Rust questions about cfg!(...) , #[cfg(...)] and 'cfg(...)' syntaxes. Even rust-cfg as Ömer Erden proposes doesn't really help much IMO.
|
|
Aug 12, 2023 at 14:57 | comment | added | Ömer Erden |
cfg is used for expressing conditions for conditional compiling, there is also cfg macro which lets you check compile time flags at runtime. With a quick look I can tell that these 8 questions are related with conditional compiling. Maybe it can be replaced with rust-cfg tag as it is done in tokio -> rust-tokio , cargo -> rust-cargo
|
|
Aug 12, 2023 at 14:55 | comment | added | markalex | @KarlKnechtel, we have conditional-compilation, but I'm not sure if it's the best idea to use it here. | |
Aug 12, 2023 at 14:07 | history | edited | MachavityMod |
edited tags
|
|
Aug 12, 2023 at 11:55 | comment | added | Karl Knechtel |
I don't know Rust, but cfg appears to be its rough equivalent to C's #ifdef .
|
|
Aug 12, 2023 at 11:54 | comment | added | Karl Knechtel | @ThomA banning the tag makes more sense, because people who want to use it to mean other things will try, and will not care when it gets auto-synonymized to the wrong thing. | |
Aug 12, 2023 at 11:21 | comment | added | Thom A | Perhaps, after it's cleaned up (again), [cfg] should be made a synonym of [context-free-grammar] to help avoid the ambiguity in the future. | |
Aug 12, 2023 at 11:11 | comment | added | Laurel | Should some of those be retagged [configuration-files]? | |
Aug 12, 2023 at 9:02 | history | asked | markalex | CC BY-SA 4.0 |