Nimble icon indicating copy to clipboard operation
Nimble copied to clipboard

Nimble won't compile on Arm Linux

Open younata opened this issue 2 years ago • 2 comments

For all... probably 0 people running Nimble on a raspberry pi.

Discovered while doing #980, basically, if you try to run swift test on an Arm box, you get a bunch of build errors like the following:

Screen Shot 2022-04-18 at 6 03 44 PM

Googling around, it seems like this is just a register or something that isn't in the arm version of GLIBC?

We can definitely avoid this by wrapping our throwAssertion matcher around an #if canImport(Darwin) || arch(x86_64) compilation block. But, I'd love an actual fix for this if we can do that.

younata avatar Apr 19 '22 01:04 younata

Bumping this to the next (major?) release in favor of getting async/await support out the door sooner.

younata avatar Oct 31 '22 21:10 younata

For all... probably 0 people running Nimble on a raspberry pi.

just FYI, the same issues occur when building on an Apple Silicon mac. so, anyone doing server-side swift who wants to run their tests in a linux container (eg: vscode dev container) cannot use Nimble ATM.

sliemeobn avatar Jul 31 '23 08:07 sliemeobn