Skip to content

Commit

Permalink
bump NimVersion to 2.2.0 (#24210)
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran authored Sep 30, 2024
1 parent 4974baf commit a5f46a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/system/compilation.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ const
## ```
# see also std/private/since

NimMinor* {.intdefine.}: int = 1
NimMinor* {.intdefine.}: int = 2
## is the minor number of Nim's version.
## Odd for devel, even for releases.

NimPatch* {.intdefine.}: int = 99
NimPatch* {.intdefine.}: int = 0
## is the patch number of Nim's version.
## Odd for devel, even for releases.

Expand Down

2 comments on commit a5f46a7

@c-blake
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, now this fails for me on Linux:

touch j.nim
nim c -c -d=nimBetterRun j

with:

Hint: used config file '/usr/lib/nim/config/nim.cfg' [Conf]
.....................................................................oserrors.nim(92)         raiseOSError
Error: unhandled exception: No such file or directory
Additional info: /tmp/j [OSError]

strace shows the failure at: newfstatat(AT_FDCWD, "/tmp/j", 0x7ffca46896f0, 0) = -1 ENOENT

I have not tried to bisect/whatever, but it worked for me on devel about 24 hours ago and the most suspicious commit is:

4974baf

Just a guess, but probably in nimBetterRun-mode the check has to look in the cache directory?

@ringabout
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. #24211

Please sign in to comment.