spicy
spicy copied to clipboard
Support arm64 on Linux?
https://github.com/zeek/spicy/blob/7bc152833075129ef1ddfba459021b336738b5d6/hilti/runtime/src/fiber.cc#L252
Robin and I talked about this a bit and I was thinking it could make sense to just generally support arm64. Most platforms these days seem to have their stacks grow downward anyway so it's likely that it would be fine if we just got rid of the Mac specific support here. I've been running spicy on aarch64 (arm64) Linux on a raspberry pi for a while and everything seems to be running fine.
I think that the arm64 #if
is in one more spot too, I just pointed to the first one that caused a problem.
If we end up enabling support for this, we should try to add CI as well. It looks like Cirrus CI supports arm64
tasks, https://cirrus-ci.org/guide/linux/.
We have merged #993 so Spicy can now be built on arm64. I will leave this issue open to track adding CI support; once that is in place we can officially support arm64.
Looks like we can test this, too: https://github.com/cirruslabs/cirrus-ci-docs/pull/905