Commit graph

658 commits

Author SHA1 Message Date
Brendan Hansknecht
2aac530327 Change the default roc allocator to mimalloc 2021-09-11 19:02:15 -07:00
Folkert
1d1d71be1d Exit(0) is success when running wasm executables 2021-09-10 09:50:13 +02:00
Folkert
2e6bf95fda enable wasm TestBase64 2021-09-04 20:01:06 +02:00
Folkert
9256bdf4ab rename wasm -> wasm32 2021-09-04 13:53:10 +02:00
Folkert
23dc591c5a add i386 cli tests 2021-09-04 13:25:49 +02:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
98c672bbde pipe target information through 2021-09-01 21:50:59 +02:00
Folkert
c7930cbbd5 drop wasmtime dependency 2021-08-30 21:43:58 +02:00
Folkert
7aa4cce895 fix repl, provide roc_panic 2021-08-30 17:50:33 +02:00
Folkert
1f5e5bdc16 reinstate RBTreeCk tests 2021-08-27 20:27:42 +02:00
Folkert
e42a27e9c5 put wasm tests behind a flag 2021-08-27 20:19:29 +02:00
Folkert
e609da8c6c add wasm cli_run tests 2021-08-27 12:23:46 +02:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
11f2bc643a
Merge pull request #1629 from rtfeldman/layout-sort-ptr-bytes
Layout sort ptr bytes
2021-08-26 21:12:52 -04:00
Richard Feldman
5fe620f9b7
Merge pull request #1620 from rtfeldman/cli
Re-add `cli` example
2021-08-26 21:03:14 -04:00
Folkert
0aabae19ce Revert "Shorten cli example test to avoid double free"
This reverts commit 62213cb110.
2021-08-27 00:02:53 +02:00
Folkert
9bd3e8f96c Merge branch 'layout-sort-ptr-bytes' into wasm-cli-option 2021-08-26 22:37:36 +02:00
Folkert
a070a7fcc7 add ptr_bytes to layout env 2021-08-26 22:12:44 +02:00
Folkert
36fc9b5f1f update target-lexicon 2021-08-26 21:39:33 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Richard Feldman
62213cb110 Shorten cli example test to avoid double free
We should revert this once the double free bug
is fixed!
2021-08-23 21:57:50 -04:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Folkert
80358d14a3 update target-lexicon 2021-08-23 19:44:53 +02:00
Richard Feldman
a98b5caef3 Restore cli_run test for cli example 2021-08-22 16:22:47 -04:00
Richard Feldman
f279485edf
Merge branch 'trunk' into roc_panic 2021-08-19 07:20:26 -04:00
Folkert
109f6c4500 fix repl 2021-08-18 13:47:12 +02:00
Folkert
367d08814d don't have compiler generate setjmp/longjmp when building an executable 2021-08-17 22:42:03 +02:00
Folkert
a12e18ca70 add roc_panic to all hosts 2021-08-16 22:46:00 +02:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Folkert
42f04fcc77 use variablesubsslice for Apply 2021-08-12 22:49:56 +02:00
Folkert de Vries
255ddbe8c1
Merge branch 'trunk' into stack_size_with_alignment 2021-08-12 09:49:33 +02:00
Folkert
eb5439ee96 take alignment into account when calculating stack size 2021-08-11 22:37:00 +02:00
Folkert
0643efa571 clippy 2021-08-11 22:04:43 +02:00
Folkert
1d32be0818 all tests pass 2021-08-11 21:59:23 +02:00
Folkert
0e66995437 Merge remote-tracking branch 'origin/trunk' into tags-soa-phase-0 2021-08-11 17:25:00 +02:00
Richard Feldman
71c18d6717 Render 8-bit integers in the repl 2021-08-09 08:07:49 -04:00
Anton-4
c898b6fae8 improved deprecation message 2021-08-08 18:02:32 +02:00
Folkert
ad3d006a11 use a SubsIndex instead of Box 2021-08-07 13:50:53 +02:00
Folkert
ff505f695c Merge remote-tracking branch 'origin/trunk' into records-soa-again 2021-08-07 12:14:41 +02:00
Richard Feldman
afcfe773b6
Merge pull request #1532 from rtfeldman/roc-run-without-run
`roc run [FILE]` is now `roc [FILE]`
2021-08-06 22:06:13 -04:00
Folkert
7f46073eaa Merge remote-tracking branch 'origin/trunk' into records-soa-again 2021-08-07 01:12:46 +02:00
Folkert
e0039b94c9 clippy 2021-08-07 01:12:42 +02:00
Folkert
69c224843e all the work 2021-08-07 00:51:53 +02:00
Richard Feldman
bc952641eb Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00
Richard Feldman
8d99a0d71d Instead of roc run [FILE] just do roc [FILE]
This is relevant because it lets us run scripts using:

!#/usr/bin/env roc

...instead of:

!#/usr/bin/env roc run

...which is not supported in all `env` implementations!
2021-08-05 23:04:39 -04:00
Richard Feldman
1a9ca334f6 Update some CLI docs 2021-08-05 22:59:05 -04:00
Richard Feldman
6c846299c8 Print a newline after the --version
Otherwise various shells are unhappy
2021-08-05 22:24:15 -04:00
Anton-4
e572762a63 Merge branch 'trunk' of github.com:rtfeldman/roc into no-unnecessary-benches 2021-08-04 11:57:43 +02:00
Folkert
f301de5576 assert type sizes 2021-08-03 22:16:27 +02:00