Zulip Chat Archive
Stream: lean4
Topic: Obtain git revision of the compiler
Henrik Böving (Jan 09 2022 at 16:05):
Is it possible right now to obtain the git commit the compiler was built with? The reason I'm asking is that I would like to link to the proper source locations for the Init
, Std
and Lean
package in doc-gen4. I grepped around in the compiler for a bit but couldn't find anything that sounded like what I wanted sadly
Mac (Jan 09 2022 at 21:23):
@Henrik Böving Lean.githash
.
Mac (Jan 09 2022 at 21:24):
(or lean --githash
in the CLI interface.)
Henrik Böving (Jan 09 2022 at 21:48):
Hmm why didnt I find this :sweat_smile:, thanks!
Last updated: Dec 20 2023 at 11:08 UTC