Fixed config.nim

This commit is contained in:
Mattia Giambirtone 2022-10-11 09:36:33 +02:00
parent 61dceab9fd
commit 318f09541a
1 changed files with 2 additions and 2 deletions

View File

@ -32,10 +32,10 @@ when HeapGrowFactor <= 1:
{.fatal: "Heap growth factor must be > 1".}
const PeonVersion* = (major: 0, minor: 1, patch: 0)
const PeonRelease* = "alpha"
const PeonCommitHash* = "9884975fbd0bd2880f0969d21ee7b6ae44ecbafa"
const PeonCommitHash* = "89477319ecae7dd21b02739688b84e96382ca044"
when len(PeonCommitHash) != 40:
{.fatal: "The git commit hash must be exactly 40 characters long".}
const PeonBranch* = "fixed-size-stack"
const PeonBranch* = "master"
when len(PeonBranch) > 255 or len(PeonBranch) == 0:
{.fatal: "The git branch name's length must be within 1 and 255 characters".}
const PeonVersionString* = &"Peon {PeonVersion.major}.{PeonVersion.minor}.{PeonVersion.patch} {PeonRelease} ({PeonBranch}, {CompileDate}, {CompileTime}, {PeonCommitHash[0..8]}) [Nim {NimVersion}] on {hostOS} ({hostCPU})"