Commit graph

25 commits

Author SHA1 Message Date
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Brian Carroll
4598b05345
Fix test_gen build script bugs 2022-06-20 08:24:48 +01:00
Brian Carroll
ab12ddf85f
Get rid of some Unix-specific slashes 2022-06-19 16:21:33 +01:00
Brian Carroll
a775c94596
Reuse wasi-libc-sys in all Wasm build scripts 2022-06-19 16:21:33 +01:00
Brian Carroll
5aff2bfe35
Get rid of a Windows-unfriendly 'find' command in test_gen build script 2022-06-19 16:21:31 +01:00
Brian Carroll
7727cc7b83
wasm: make sure test_gen/build exists before using it 2022-06-18 10:59:11 +01:00
Brian Carroll
b40a73ddcb
Clippy 2022-06-18 07:27:44 +01:00
Brian Carroll
2828aeeb6c
wasm: choose a more debuggable calculation for the linking test app 2022-06-16 00:21:11 +01:00
Brian Carroll
52f209b2f9
wasm: in linking test, compare wasm result to native result 2022-06-15 21:16:00 +01:00
Brian Carroll
01a0c1775e
wasm: add a zig file to calculate expected test result 2022-06-15 20:20:55 +01:00
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