* Move `raise` code to be behind an autoconf check
This moves the call to `raise` behind a `HAVE_RAISE` autoconf check,
in addition to `__wasm__`. This is intended to help porting to
other platforms that don't support `raise` (e.g. modern game consoles).
* Add autoconf check for `sysconf`
Only try to invoke `sysconf` if the target platform supports it, and
don't warn about unknown page size if `PAGE_SIZE` was defined. Add an
include for `sys/param.h` to increase likelihood of finding `PAGE_SIZE`.
This is intended to help porting to other platforms that don't support
`sysconf` (e.g. modern game consoles) that have a fixed hardware page
size.
* Don't try to use raise & sysconf in a WASI environment
Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
Build .net binaries targeting the various linux platforms as a self-contained deployment, then use QEMU to run those binaries on the appropriate architecture
By default, lucetc generates code with explicit bound checking,
even though the runtime has guard pages.
Elision only happens with --reserved-size=4GiB
This stops emscripten from adding a `unhandledRejection` handler on the global `process` object that forcefully exits the process.
This allows fixing jedisct1/emscripten.js#253 because we no longer need to remove these listeners to compensate after the fact.
* Make sure config.sub and config.guess are executable
This fixes Spack build on ppc64 and aarch64, see https://github.com/spack/spack/pull/21256
* Move config files after setting their mode
Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>