feat: add build sha to parser.c header comment
This commit is contained in:
parent
74481399df
commit
dc4e232e6e
3 changed files with 41 additions and 2 deletions
|
|
@ -60,6 +60,8 @@ fn web_playground_files_present() -> bool {
|
|||
paths.iter().all(|p| Path::new(p).exists())
|
||||
}
|
||||
|
||||
// When updating this function, don't forget to also update generate/build.rs which has a
|
||||
// near-identical function.
|
||||
fn read_git_sha() -> Option<String> {
|
||||
let crate_path = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue