nim-lang / website

Code for the official Nim programming language website
https://nim-lang.org
Other
115 stars 78 forks source link

2.0.2, 2.0.4: clarify -d:useMalloc requirement #394

Closed ee7 closed 3 months ago

ee7 commented 3 months ago

The 2.0.2 release post noted a particular problem, saying it'd be fixed in 2.0.4. It wasn't, so reduce the potential confusion: amend the note for 2.0.2, and add the same note for 2.0.4 (on the basis that if it was worth mentioning for 2.0.2, I guess it's still worth mentioning later).

My understanding is that the regression still exists in 2.0.4, and Araq said on the forum:

This example is supposed to work and does when you disable Nim's broken default allocator.

That is a regression with the 2.0 line. You really need -d:useMalloc for the time being, sorry. I've "fixed" this bug months ago but it causes other test regressions.

See also the commits between 2.0.2 and 2.0.4.


Feel free to take over this PR. No worries that the problem wasn't resolved - it's just that when I saw the 2.0.4 release, I initially thought it was.