Skip to content

Commit

Permalink
chore: update src/library/module.cpp after update stage0
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>

Update src/library/module.cpp

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
  • Loading branch information
2 people authored and kim-em committed Oct 30, 2024
1 parent dd50be7 commit ad0131f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/library/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@ struct olean_header {
// 1 byte: version, incremented on structural changes to header
uint8_t version = 2;
// 1 byte of flags:
// - whether persisted bignums use GMP or Lean-native encoding
// * bit 0: whether persisted bignums use GMP or Lean-native encoding
// * bit 1-7: reserved
uint8_t flags =
#ifdef LEAN_USE_GMP
0b1;
#else
0b0;
#endif
// 33 bytes: Lean version string, padded with '\0' to the right
// e.g. "4.12.0-nightly-2024-10-18"
// e.g. "4.12.0-nightly-2024-10-18". May not be null-terminated.
char lean_version[33];
// 81b008650766442a0dfa9faa796e4588c9d7d3a1
// 40 bytes: build githash, padded with `\0` to the right
Expand Down

0 comments on commit ad0131f

Please sign in to comment.