Commit graph

10698 commits

Author SHA1 Message Date
Brian Carroll
49ac08546c Replace a vector reference with a slice 2021-11-01 00:01:48 +00:00
Folkert
830764221e add specification for sortWith 2021-10-31 22:31:55 +01:00
Kevin Sjöberg
0f8047cbf0 Remove dead code 2021-10-31 21:08:41 +01:00
Kevin Sjöberg
3fbb081f75 Correct comment of List.map3 signature 2021-10-31 21:08:41 +01:00
Kevin Sjöberg
f9ed060e49 Implement List.map4 2021-10-31 21:08:41 +01:00
Folkert
c7920b2a24 refactor 2021-10-31 17:38:07 +01:00
Luiz de Oliveira
4b8a816aed Merge branch 'trunk' of github.com:rtfeldman/roc into Change--arch-flag-to--A-when-calling-ld 2021-10-31 11:49:58 -03:00
Brian Carroll
51f3f1ece8
Merge branch 'trunk' into wasm_relocations 2021-10-31 14:37:52 +00:00
Richard Feldman
b29a029a33
Merge pull request #1854 from rtfeldman/layoutids-optimize
use Entry in LayoutIds functions
2021-10-31 10:08:55 -04:00
Folkert
a40c4f4fd5 use Entry 2021-10-31 13:47:02 +01:00
Folkert de Vries
0f5411da5f
Merge branch 'trunk' into false-cleanup 2021-10-31 11:12:34 +01:00
Folkert de Vries
50bfdcab35
Merge pull request #1852 from rtfeldman/add-list-max
Add List.max builtin
2021-10-31 11:10:58 +01:00
Brian Carroll
572bdb987f Add a comment 2021-10-31 08:32:33 +00:00
Brendan Hansknecht
2517b8eef9
Merge branch 'trunk' into false-cleanup 2021-10-30 23:46:27 -07:00
Chelsea Troy
071d9cf9af
Merge branch 'trunk' into add-list-max 2021-10-30 19:44:51 -05:00
Chelsea Troy
e01942f387
Whoops, let's make List.max actually accessible on the frontend, lol 2021-10-30 19:23:08 -05:00
Chelsea Troy
4afaf96aea
Add List.max builtin 2021-10-30 19:17:35 -05:00
Richard Feldman
a8e05e31c0
Add Logan Lowder to AUTHORS 2021-10-30 19:01:51 -04:00
Richard Feldman
8cd653d678
Merge pull request #1850 from lowderdev/issue-1843-update-docs-on-llvm
[Issue 1843] update docs on llvm
2021-10-30 19:00:52 -04:00
Folkert
27e70b03e0 cleanup 2021-10-30 22:20:14 +02:00
Folkert
36496662d2 add comment on uninitialized memory 2021-10-30 22:14:26 +02:00
Folkert
29e7853b85 use phi node in elem_loop 2021-10-30 22:05:43 +02:00
Folkert
44e8fbc203 construct tag in alloca (to eventually pass them by pointer) 2021-10-30 22:05:22 +02:00
Luiz de Oliveira
8d1e1f043f Change --arch flag to -A when calling ld 2021-10-30 16:07:08 -03:00
Logan Lowder
ef3ec61822 Correct incorrectly ordered commands
`clang` maps to `clang-12` and `llvm-as` maps to `llvm-as-12`
2021-10-30 13:22:53 -05:00
Logan Lowder
9b43bf4064 Update macOS docs regarding llvm
See more details here: https://github.com/rtfeldman/roc/issues/1843
2021-10-30 13:22:09 -05:00
Anton-4
9f1d61714a Merge branch 'trunk' of github.com:rtfeldman/roc into fix-compilation-nix-macos 2021-10-30 19:29:12 +02:00
Brian Carroll
96832ed1e3 self review 2021-10-30 18:22:09 +01:00
Brian Carroll
b0e0c14dd8 clippy 2021-10-30 17:52:38 +01:00
Brian Carroll
7fdaa5b91f Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_relocations 2021-10-30 17:47:38 +01:00
Brian Carroll
b8eea9be2b Fix linking bugs from wasm-objdump analysis 2021-10-30 17:47:13 +01:00
Folkert
c51ac4a1f2 Merge branch 'false-cleanup' of github.com:rtfeldman/roc into false-cleanup 2021-10-30 14:22:11 +02:00
Brian Carroll
0ee482ae9e Fix string encoding. Tests pass. 2021-10-30 10:57:21 +01:00
Brian Carroll
99b08ad395 Skip relocations for test_wrapper since we don't run a linker on it anyway. 2021-10-30 09:50:53 +01:00
Brian Carroll
b541802819 Change custom section names to string slice
We will never need to create these names dynamically.
e.g. "reloc.CODE", "reloc.DATA", and "linking" will all
come from specific places in our backend code.
It's a different story for function names etc.
2021-10-30 09:26:40 +01:00
Brian Carroll
2da2e51895 Move relocations code into the backend and code builder 2021-10-30 09:20:16 +01:00
Brian Carroll
9780cce4dd Rough draft of function name relocations 2021-10-30 08:55:33 +01:00
Shritesh Bhattarai
fd61ef89ee Add aarch64-target in roc_cli and rebuild_host 2021-10-29 19:27:38 -04:00
Brendan Hansknecht
d21c858ccd fix clippy lint 2021-10-29 16:03:49 -07:00
Folkert
391025145f Merge remote-tracking branch 'origin/trunk' into false-cleanup 2021-10-30 00:56:13 +02:00
Brendan Hansknecht
9798a27606 Merge branch 'trunk' into false-cleanup 2021-10-29 15:48:27 -07:00
Brendan Hansknecht
ecf22516fc Switch to correct c ffi in false 2021-10-29 15:48:07 -07:00
Richard Feldman
c76d672363
Merge pull request #1839 from rtfeldman/nightly-fix
no need to install earthly on self-hosted runner
2021-10-29 18:22:02 -04:00
Richard Feldman
0d1ed45444
Merge pull request #1841 from rtfeldman/nix_undefined_symbol
Fix nix undefined symbol `_dl_catch_error_ptr`
2021-10-29 18:20:17 -04:00
Richard Feldman
31beb1a977
Merge pull request #1842 from rtfeldman/fix-ir-clones
Optimize mono
2021-10-29 18:15:46 -04:00
Folkert
d35686f3a8 hash less 2021-10-29 21:28:11 +02:00
Folkert
05b5cd3429 specializations requested in file.rs are specializations for the host 2021-10-29 21:27:26 +02:00
Folkert
eda904e63e don't register debug idents while doing work (it happens afterwards 2021-10-29 21:26:36 +02:00
Folkert
e10cd07143 use Entry in symbol.rs 2021-10-29 21:25:11 +02:00
Folkert
30e7f7b335 make solved type hash use an explicit stack (no recursion) 2021-10-29 21:24:40 +02:00