Here is the first release for Nim 1.6.4, available from our nightly builds:
If you're using Choosenim, you should be able to get this RC by doing:
choosenim update self
choosenim "#version-1-6"
The most notable fix for this release is: Potential C FFI regression.
The complete list of commits between 1.6.2 and this RC is available here.
If there are any regressions, please let us know.
I'm getting SIGBUS: Illegal storage access. (Attempt to read from nil?) crashes using godot-nim with this version. I also saw this in 1.6.2 (but not 1.6.0 or earlier) and assumed it would be fixed by https://github.com/nim-lang/Nim/pull/19385, but either I'm seeing something else, or the fix is incomplete.
Unfortunately I won't have any time to dig into this for a few days, but on Thursday I'll try to come up with a minimal reproduction and track down the offending commit.
Thank you very much for the release! We ran into the {.bycopy.} not working issue while working on our windowing library for mac ( https://github.com/treeform/windy ) and were stumped.
Its great that its getting fixed now!
I don't know very well the backport policy, but I believe it is convenient to add these corrections.
Nim 1.6.4 RC2 is now available, containing the #19461 fix mentioned above.
Get it from the nightlies: https://github.com/nim-lang/nightlies/releases/tag/2022-01-29-version-1-6-35c812fda1ae7f1d183d3021793438fb2099c329
or via Choosenim:
choosenim update self
choosenim "#version-1-6"
Please let us know of any problems / regressions.
Can't install 1.6.4 on Windows:
choosenim "#version-1-6-4"
Downloading Nim version-1-6-4 from GitHub
[##################################################] 100.0% 0kb/s
Extracting version-1-6-4.tar.gz
Building Nim #version-1-6-4
Warning: Building from latest C sources. They may not be compatible with the Nim version you have chosen to install.
Downloading Nim C sources from GitHub
Cleaning failed build
winhttp.nim(57) checkHRESULT
Error: unhandled exception: HRESULT: 80072F78 [PuppyError]
Please re-read the first post. The command you need to run is choosenim "#version-1-6", not choosenim "#version-1-6-4".
Hmm, I just thought it was a typo. Because running "choosenim "#version-1-6"" doesn't update Nim to 1.6.4. Instead, I get switched to 1.6.0.
Hmm, I just thought it was a typo. Because running "choosenim "#version-1-6"" doesn't update Nim to 1.6.4. Instead, I get switched to 1.6.0.
Hmmm, I thought it should get you the latest from the version-1-6 branch.
Can you please try choosenim update "#version-1-6?
Can you please try choosenim update "#version-1-6"?
That worked, thanks.
I was looking at the changes and I believe these commits should be added in 1.6
... no problem having these fixes in 1.6.6.
As promised earlier, these commits are now backported and will be part of the next 1.6 release.