Skip to content

Conversation

@timotheecour
Copy link
Member

@timotheecour timotheecour commented Mar 23, 2021

/cc @narimiran

note, the underlying issue with 32bit linux CI was due to upstream broken packages and lasted from 1 to 2 weeks but the upstream issue has now been fixed. In the meantime other tests were added that were broken in i386; this PR fixes those tests

@timotheecour timotheecour force-pushed the pr_fix_linux32bit branch 2 times, most recently from 4623385 to 0c9e94c Compare March 23, 2021 18:56
@timotheecour timotheecour changed the title refs #17325 linux 32bit CI fix #17325 linux 32bit CI; fix #17085 flaky test Mar 23, 2021
@timotheecour timotheecour reopened this Mar 23, 2021
@timotheecour timotheecour marked this pull request as ready for review March 23, 2021 20:41
@timotheecour timotheecour requested a review from Araq March 23, 2021 20:44

proc initFromJson[T: SomeInteger](dst: var T; jsonNode: JsonNode, jsonPath: var string) =
when T is uint|uint64:
when T is uint|uint64 or (not defined(js) and int.sizeof == 4):
Copy link
Member Author

Choose a reason for hiding this comment

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

this logic can be refined in future work, but at least it's good to re-enable a non-broken i386

@narimiran narimiran merged commit e94aec2 into nim-lang:devel Mar 24, 2021
narimiran added a commit that referenced this pull request Mar 24, 2021
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
@timotheecour timotheecour deleted the pr_fix_linux32bit branch May 7, 2021 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI fails on azure 32 bit linux Linux_i386: sudo apt-fast install fails memory allocation during {.global.} init breaks GC

4 participants