Zulip Chat Archive
Stream: lean4
Topic: Set variables at compile-time via compiler CLI
Ricardo Prado Cunha (Sep 23 2024 at 02:02):
Is there any way to set values via the compiler CLI that I can query in the program at compile-time? I'm looking for something like gcc/clang's -D flag or rustc's --cfg flag.
Last updated: Feb 28 2026 at 14:05 UTC