define nimVersion automatically and avoid needing -d:nimVersion140 (#18726)

* define `nimVersion` and avoid needing -d:nimVersion140

* fix changelog
This commit is contained in:
Timothee Cour 2021-10-16 23:37:52 -07:00 • committed by GitHub
commit f77dea01fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 4 deletions

View file

@ -656,7 +656,7 @@ type
mUnaryPlusI, mBitnotI,
mUnaryPlusF64, mUnaryMinusF64,
mCharToStr, mBoolToStr,
mIntToStr, mInt64ToStr, mFloatToStr, # for -d:nimVersion140
mIntToStr, mInt64ToStr, mFloatToStr, # for compiling nimStdlibVersion < 1.5.1 (not bootstrapping)
mCStrToStr,
mStrToStr, mEnumToStr,
mAnd, mOr,