diff --git a/README.md b/README.md index d1fc9e2..c31c2cb 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ I designed it for programs that need real-time geospatial, such as geofencing, m - Reads and writes [WKT](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry), [WKB](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry), and [GeoJSON](https://en.wikipedia.org/wiki/GeoJSON). - Provides a purely functional [API](docs/API.md) that is reentrant and thread-safe. - Spatial predicates including "intersects", "covers", "touches", "equals", etc. +- Compiles to Webassembly using Emscripten - [Test suite](tests/README.md) with 100% coverage using sanitizers and [Valgrind](https://valgrind.org). - Self-contained library that is encapsulated in the single [tg.c](tg.c) source file. - Pretty darn good performance. 🚀 [[benchmarks]](docs/BENCHMARKS.md) diff --git a/tests/README.md b/tests/README.md index 57f69c8..668c4cf 100644 --- a/tests/README.md +++ b/tests/README.md @@ -21,6 +21,8 @@ CC=clang-17 tests/run.sh # use alternative compiler CFLAGS="-O3" tests/run.sh # use custom cflags NOSANS=1 tests/run.sh # do not use sanitizers VALGRIND=1 tests/run.sh # use valgrind on all tests +CC="emcc" tests/run.sh # Test with Emscripten (webassembly) +CC="zig cc" tests/run.sh # Test with the Zig C compiler ``` ## Benchmarks