add dummy crt to allow linking to orca-libc just by passing --sysroot=orca-libc
adding scanf and stb_sprintf implementations
added malloc
added minimal wide char support for vfscanf
adding abort
Adding exit/_Exit/atexit
testing replacement of libc-shim with orca-libc
fix oc_bridge_exit def in core_api.json
Pre-compile orca-libc and orca wasm sdk when building the runtime
wip fileio
first pass FILE interfaces implemented
add fprintf/fscanf
update libc notes
disable clang-format for libc
wip migrating to musl implementations of FILE functions
first pass migrating to musl FILE functions
samples build with new libc (win32 only)
rework win32 sample build scripts to use --sysroot approach
Adding --test support to orca runtime
Specifying --test=path_to_wasm_module will run a special harness oc_on_test() that returns an exit code - 0 for success. The orca runtime will immediately exit after running the test.
bugfix in win32 oc_io_raw_open_at: comparing wrong flags
stdio libc fixes
expose feof and ferror as real functions so they can be used by client code
moved ofl_add.c into correct folder
fixed some fopen -> orca flags
fseek() shim bugfix: translating between orca/libc whence flags
Fix oc_bridge_io_wait_single_req to not error when buffer is null if operation does not require a buffer (e.g. OC_IO_SEEK)
wip wasm stdio tests
stdio wasm test: ferror() and clearerr()
stdio wasm tests: test_jail()
orca libc: putc/getc and more tests
test_eof
test_getputc
test_getsetpos
orca libc: fgets/fputs and tests
orca libc: wip fprintf/fscanf test
update wasm test run.sh
orca libc: fprintf/fscanf and tests
update samples build.bat to not have --no-default-libraries
ftell test
libc stdio: rewind
libc stdio: freopen
libc stdio: setbuf and setvbuf
add implementations for a few more printf variants
replace stb sprintf with musl version
orca libc: ungetc
add std handles stdout, stderr, stdin
they print errors on any operations, but can be freopen-ed to be redirected to a file