3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-12-18 02:08:33 +00:00

version: add git hash string

This commit is contained in:
Emil J. Tywoniak 2025-12-09 11:58:43 +01:00
parent 0e31e389f2
commit 23e1b0656c
2 changed files with 6 additions and 2 deletions

View file

@ -81,6 +81,7 @@ extern std::set<std::string> yosys_input_files, yosys_output_files;
// from kernel/version_*.o (cc source generated from Makefile)
extern const char *yosys_version_str;
extern const char *yosys_git_hash_str;
const char* yosys_maybe_version();
// from passes/cmds/design.cc