Pat Hickey
774521b92c
bump wasi-sysroot
...
Define TIME_UTC to be 1.
Define CLOCKS_PER_SEC to have type clock_t.
Optimize lseek in the `tell` case.
Say "wasm32-wasi" rather than "wasm32-unknown-wasi".
Declare getentropy in <sys/random.h>
Disable unused fields in FILE and __libc.
Add vfwprintf.c to the printscan list.
Implement FD_SET, FD_CLR, etc.
Remove capsicum.h; WASI libc doesn't support that API, even internally.
Make calloc set ENOMEM when failing due to overflow.
Make the strerror message for ESUCCESS (0) be "Success".
Implement reallocarray.
Update README.md
Add missing asctime symbol
Fix floatscan no long double usage (#21 )
Remove the Linux-specific <sys/signalfd.h> header.
Declare getrusage.
Format changes to musl code to fit musl's style.
Fixes #20
gitignore build
6 years ago
Dan Gohman
38cc8a607c
Say "wasm32-wasi" instead of "wasm32-unknown-wasi" in wasi-sdk.
6 years ago
Dan Gohman
3f6c4f83a3
Distribute updated config.sub and config.guess.
...
Distribute versions of config.sub and config.guess with wasm and wasi
support.
Fixes #16 .
6 years ago
Pat Hickey
2e88d7671b
Merge pull request #23 from CraneStation/jedisct1/package-builtins
...
Create a tarball of the clang-rt builtins in tar_from_installation.sh
6 years ago
Frank Denis
e07b7df73d
Create a tarball of the clang-rt builtins in tar_from_installation.sh
...
These builtins are required to use WASI with an existing clang
installation.
6 years ago
Pat Hickey
6aa39c8054
bump wasi-sysroot: use LC_ALL=c in sorting
6 years ago
Pat Hickey
c03ef43373
Merge pull request #18 from kubkon/master
...
Fixes #15
6 years ago
Jakub Konka
fb50c3e21e
Fixes #15
6 years ago
Dan Gohman
3ef4fbda43
This updates to the latest wasi-sysroot. Major changes:
...
- Fixes C++ <iostream> with -fno-exceptions
- Fixes the remaining issue in #6 with using newer LLVM versions
- Adds an API for preopened directory lookups.
- Fixes <inttypes.h> macros (#13 ).
6 years ago
Dan Gohman
d28fd3fb2e
In libcxx and libcxxabi, disable the individual thread APIs too.
...
This disables the automatic detection of these features.
6 years ago
Dan Gohman
9f96bf5ebe
Disable threads in libcxx and libcxxabi for now.
...
WASI libc doesn't currently support threads, so disable threading
support in libcxx and libcxxabi.
6 years ago
Dan Gohman
4d79cfc533
Prefix an echo command with '@' so that we don't see the message twice.
6 years ago
Yury Delendik
8eff94c85c
Allow llvm-project path change; version from llvm-config.
6 years ago
Johnnie Birch
df30f156cc
Prefer https over ssh url for wasi-sysroot submodule
...
To avoid some firewall complications https urls are recommend
over ssh:
https://help.github.com/en/articles/which-remote-url-should-i-use
also makes URL type for wasi-sysroot consistent with llvm-project.
6 years ago
Till Schneidereit
ea0de47d95
Merge pull request #7 from CraneStation/update-to-wasi-sysroot
...
Update to current wasi-sysroot.
6 years ago
Dan Gohman
4ad2a0f3e0
Update to current wasi-sysroot.
...
This updates wasi-sdk to use the latest version of "wasi-sysroot".
This fixes https://github.com/CraneStation/wasmtime/issues/88 .
6 years ago
Till Schneidereit
0ee2a7cd6a
Merge pull request #4 from chicoxyzzy/patch-1
...
Fix link to WASI reference-sysroot
6 years ago
Sergey Rubanov
3f26bc14c6
Fix link to WASI reference-sysroot
6 years ago
Adam C. Foltzer
5399e51074
Merge pull request #3 from CraneStation/acf/sysroot-bump
...
Bump sysroot submodule to include libpreopen syscalls
6 years ago
Adam C. Foltzer
6bfbcedb69
bump sysroot submodule
6 years ago
Pat Hickey
95e02e8433
Merge pull request #2 from CraneStation/acf/llvm-8
...
Bump submodules, notably to LLVM 8.0.0
6 years ago
Pat Hickey
be4a8927f1
Merge pull request #1 from CraneStation/sunfish
...
Add a README and minor tidyings
6 years ago
Adam C. Foltzer
795cdf06f1
bump submodules, notably to LLVM 8.0.0
6 years ago
Dan Gohman
726da196b2
Add a basic README.md.
6 years ago
Dan Gohman
e98e5b3e9c
Spell "WASI SDK" consistently.
6 years ago
Pat Hickey
0d336cec41
reference sysroot: fix build issue on mac os
6 years ago
Pat Hickey
cea537aef1
produce deb and tars
...
this should hopefully work on the mac, ill have to get someone to test
it
6 years ago
Pat Hickey
2a3fadc96f
build system fixups
6 years ago
Pat Hickey
cdf0981d3f
add reference-sysroot as submodule
6 years ago
Pat Hickey
5e23f9a48c
add llvm-project as submodule, on release/8.x branch
6 years ago
Pat Hickey
c80964d8d7
initial commit
...
largely based on yury's wasmception
6 years ago