Folkert
|
99d12c4f3e
|
use env! macro
|
2021-12-11 22:11:50 +01:00 |
|
Brian Carroll
|
574eec1d61
|
Remove fprintf from compilation for faster test runs
|
2021-12-11 20:36:22 +00:00 |
|
Brian Carroll
|
9594b05c96
|
Add some debug features to gen_wasm
|
2021-12-11 20:33:54 +00:00 |
|
Brian Carroll
|
96380d5bfe
|
Link compiler_rt.o in wasm tests
|
2021-12-11 20:33:11 +00:00 |
|
Brian Carroll
|
f8a1f9e8cf
|
Use PhantomData instead of Default in Wasm tests
|
2021-12-11 20:33:11 +00:00 |
|
Brian Carroll
|
11118bb555
|
Remove fprintf from compilation for faster test runs
|
2021-12-11 20:13:46 +00:00 |
|
Brian Carroll
|
e9343d8b2a
|
Edit dummy libc program
|
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 |
|
Brian Carroll
|
760f4c0ed4
|
Add an optional Wasm debug feature - hex memory dump
|
2021-12-08 21:28:59 +00:00 |
|
Brian Carroll
|
6a801ebc7e
|
gen_wasm: add support for non-recursive Tags
|
2021-12-08 20:45:49 +00:00 |
|
Brendan Hansknecht
|
8c6e5360cd
|
Remove Cell around interns
|
2021-12-07 16:54:06 -08:00 |
|
Folkert
|
3291cc680e
|
use Cell, remove threading of identids
|
2021-12-03 21:50:26 +01:00 |
|
Brian Carroll
|
d0ef1e5b36
|
Route IdentIds to refcount proc generator in dev backend
|
2021-12-02 09:58:34 +00:00 |
|
Brian Carroll
|
a08633fd36
|
Debugging improvements
|
2021-11-30 10:58:03 +00:00 |
|
Brian Carroll
|
820d9e0ab4
|
Register debug names for new Symbols, and refactor to avoid borrow-checker issues
|
2021-11-30 09:57:00 +00:00 |
|
Brian Carroll
|
e7d8c7c895
|
Make gen_wasm's Env mutable
|
2021-11-30 09:57:00 +00:00 |
|
Brian Carroll
|
ebc1fd6880
|
Get rid of special ModuleId for refcounting code
|
2021-11-30 09:57:00 +00:00 |
|
Brian Carroll
|
2ad032f894
|
Integrate refcount proc generator with Wasm backend
|
2021-11-30 09:57:00 +00:00 |
|
Brian Carroll
|
61575cea7e
|
Generate calls to refcount procs from Wasm backend
|
2021-11-30 09:57:00 +00:00 |
|
Folkert de Vries
|
167af34d4b
|
Merge pull request #2097 from rtfeldman/wasm-empty-record
Wasm empty record
|
2021-11-29 13:15:40 +01:00 |
|
Brian Carroll
|
dcd4914ac1
|
Fix and enable tests involving empty records
|
2021-11-29 00:57:28 +00:00 |
|
Brendan Hansknecht
|
a63dd1eb61
|
use unimplemented! and internal_error! instead of result in dev backend
|
2021-11-27 12:38:29 -08:00 |
|
Folkert
|
f96d60a13e
|
Merge remote-tracking branch 'origin/trunk' into layout-builtin-numbers-refactor
|
2021-11-21 23:19:55 +01:00 |
|
Brian Carroll
|
e5658cc2ca
|
Clippy & formatting
|
2021-11-21 21:04:42 +00:00 |
|
Brian Carroll
|
ee1c4478da
|
Improve IR debug printing for dev backends
|
2021-11-21 20:44:16 +00:00 |
|
Folkert
|
2d4e6b414c
|
pass a pointer width of 4 to wasm test gen
|
2021-11-21 21:37:15 +01:00 |
|
Brian Carroll
|
b5b90fb2b7
|
Delete unused file
|
2021-11-17 16:45:52 +00:00 |
|
Brian Carroll
|
1134b6f45c
|
Fix test_wrapper linking bug
|
2021-11-17 16:45:38 +00:00 |
|
Brian Carroll
|
9de989c0d5
|
Link wasm test binaries with libc.a
|
2021-11-17 12:54:39 +00:00 |
|
Brian Carroll
|
5d4518c8d1
|
Try using C for the wasm test platform
|
2021-11-16 12:00:13 +00:00 |
|
Brian Carroll
|
b8f40011b9
|
Generate a test "platform" with libc allocator functions
|
2021-11-16 11:59:46 +00:00 |
|
Brian Carroll
|
e9f920827e
|
Add support for Zig/LLVM "fast calling convention"
|
2021-11-15 19:20:55 +00:00 |
|
Folkert
|
e706c3eb0a
|
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
|
2021-11-13 01:06:31 +01:00 |
|
Brian Carroll
|
7f633c107f
|
Fix a bug in our model of the Wasm VM stack
|
2021-11-12 17:44:31 +00:00 |
|
Folkert
|
144dbef434
|
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
|
2021-11-10 17:19:30 +01:00 |
|
Folkert de Vries
|
56c7318cd9
|
Merge branch 'trunk' into zig9-to-zig
|
2021-11-10 12:37:39 +01:00 |
|
Nathan Bleigh
|
2dd86b1f18
|
Updates zig9 to zig
Referenced in https://github.com/rtfeldman/roc/pull/1905
|
2021-11-09 21:18:18 -06:00 |
|
Folkert
|
4e2b41f924
|
fix variable not updated in code disabled by feature flags
|
2021-11-09 23:04:31 +01:00 |
|
Folkert
|
656832b272
|
enable linking when running wasm tests
|
2021-11-09 22:31:11 +01:00 |
|
Brian Carroll
|
e2b95662a8
|
Fix wasm linking bugs
|
2021-11-09 21:22:12 +00:00 |
|
Folkert
|
a9ce02799c
|
WIP
|
2021-11-09 21:37:56 +01:00 |
|
Brian Carroll
|
d0f1698db2
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-link-builtins
|
2021-11-09 15:08:43 +00:00 |
|
Brendan Hansknecht
|
360974398a
|
Merge test_dev, test_wasm, and test_wasm_util into test_gen
|
2021-11-08 19:31:20 -08:00 |
|
Folkert
|
a9d483cb60
|
Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust
|
2021-11-08 22:31:17 +01:00 |
|
Brendan Hansknecht
|
2ce945771e
|
Make test crates only have dev dependencies and separate out wasm memory helper
|
2021-11-07 18:01:40 -08:00 |
|
Brian Carroll
|
ce9658684a
|
Move wasmer dependency from gen_wasm to test_wasm
|
2021-11-07 22:56:28 +00:00 |
|
Folkert
|
5cd232816b
|
waypoint
|
2021-11-05 21:30:20 +01:00 |
|
Richard Feldman
|
0bc3ff4ca5
|
Use std and core over libc where equivalent
|
2021-11-02 19:37:05 -04:00 |
|