VENDOR 793 B

1234567891011121314151617
  1. QuickJS 2026-06-04 (Fabrice Bellard / Charlie Gordon)
  2. =====================================================
  3. Upstream: https://bellard.org/quickjs/quickjs-2026-06-04.tar.xz
  4. License: MIT (see LICENSE)
  5. Only the engine sources are vendored: quickjs.c/h with its atom/opcode
  6. tables, cutils, dtoa, libregexp and libunicode. quickjs-libc, qjs/qjsc,
  7. the tests and docs are not part of this copy.
  8. Build: the browser compiles these with the ring-3 freestanding flags plus
  9. -D__nebos__ -U__linux__ -U__unix__ -DNDEBUG, against libc/include
  10. (see QJS_CFLAGS in the top-level Makefile).
  11. Local patches (all guarded by __nebos__):
  12. - quickjs.c: no CONFIG_ATOMICS (no threads/pthreads on NebOS), no
  13. <fenv.h>, <alloca.h> instead of <malloc.h>, and the Date timezone offset is 0 because the RTC holds UTC.