Commit graph

15 commits

Author SHA1 Message Date
Brian Carroll
eaae7f1004
wasm: Deal with hosts where Roc main is called from JS (also test_gen & REPL!) 2022-06-06 11:37:44 +01:00
Brian Carroll
0900481ec8
wasm: try to link Roc main to the test platform 2022-06-04 20:24:08 +02:00
Brian Carroll
dad1d14ef8
wasm: make host file relocatable 2022-06-03 09:51:32 +02:00
Richard Feldman
fd40fed937
Fix a bunch of errors from clippy --tests 2022-05-10 15:21:48 -04:00
Brian Carroll
a663d335fc repl_test: update build.rs to work with Zig 0.9 (like test_gen) 2022-04-11 14:19:56 +01:00
Brian Carroll
2473b84ded test_gen: Ensure preloaded Wasm object has both relocations and libc code 2022-04-11 11:28:36 +01:00
Brian Carroll
90cd644671 test_gen: update wasm build command for zig 0.9 2022-04-08 16:44:28 +01:00
Brian Carroll
fb5ac05155 Wasm: Optional debug code in test_gen build script 2022-01-13 05:41:52 +00:00
Brian Carroll
5de9581b62 Wasm: pre-link app-independent code before running tests (builtins, plaform & libc) 2022-01-13 05:41:52 +00:00
Folkert
022b1ca83a use ROC_ZIG environment variable to configure which zig is used 2021-12-25 22:27:52 +01:00
Brian Carroll
96380d5bfe Link compiler_rt.o in wasm tests 2021-12-11 20:33:11 +00:00
Brian Carroll
544caf0f43 Only run Wasm build steps for test_gen when gen-wasm feature is enabled 2021-12-11 10:15:32 +00:00
Brian Carroll
2d4dfb49de Update Wasm tests to use libc and platform built by build.rs 2021-12-11 10:15:32 +00:00
Brian Carroll
aefc6e76a4 Build a Wasm libc.a from test_gen/build.rs 2021-12-11 10:15:32 +00:00
Brian Carroll
53d221481e Build a Wasm test platform in test_gen 2021-12-11 10:15:32 +00:00