Commit Graph

4 Commits

Author SHA1 Message Date
Ivan Enderlin
33a2651bab test(c-api) Implement wasmer_assert.
`assert.h` does nothing when the code is compiled in release
mode. That's not what we want :-). Let's reimplement `assert` as
`wasmer_assert`, which is close to the original `assert` function.
2020-11-06 09:39:12 +01:00
Ivan Enderlin
8009fea945 test(c-api) Include string.h inside tests/wasmer_wasm.h. 2020-11-06 09:03:29 +01:00
Ivan Enderlin
a4493ed990 doc(tests) Improve documentation of tests/wasmer_wasm.h. 2020-11-03 10:43:40 +01:00
Ivan Enderlin
1d208af530 test(c-api) Create a tests/wasmer_wasm.h file.
Remove the `build.rs` hack to add helper functions that are used only
in our tests. Now the tests can use the `tests/wasmer_wasm.h` file,
which simplifies the test workflow: No need to hack the build script
or anything if we want to add a helper function.
2020-11-03 10:41:00 +01:00