mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add $$VERSION and $$PRERELEASE (#2751)
* Add 64507VERSION and 64507PRERELEASE * Migrate to compiler define method --------- Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
This commit is contained in:
@@ -1522,6 +1522,9 @@ void compile()
|
||||
setup_int_define("LLVM_VERSION", 0, type_int);
|
||||
#endif
|
||||
|
||||
setup_string_define("VERSION", COMPILER_VERSION);
|
||||
setup_bool_define("PRERELEASE", PRERELEASE);
|
||||
|
||||
setup_bool_define("BENCHMARKING", compiler.build.benchmarking);
|
||||
setup_int_define("JMP_BUF_SIZE", jump_buffer_size(), type_int);
|
||||
setup_bool_define("TESTING", compiler.build.testing);
|
||||
|
||||
Reference in New Issue
Block a user