Important Notice: Starting April 1st, 2025, OSx/macOS builds will no longer be supported due to the end-of-life (EOL) of VMWare support for macOS infrastructure.
Join over 500,000 developers testing and building on Travis CI
Oh no!
Your permissions are insufficient to access this repository's settings
Pull Request #273
CONC-764: Build error in ma_context.c on android
Some research show that X18 is mentioned as a platform-reserved register on most non-linux platforms, including MacOS, Windows, and FreeBSD. So only put it in the clobber list in Linux.
Note that the ma_context.c code does not itself use the X18 register in any way. On platforms where X18 is reserved, the co-routine code will preserve it. On platforms where co-routine code can modify X18, it does not need to be preserved. Putting X18 in the clobber list is only to avoid GCC itself generating code that requires that X18 is preserved.
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>