Commit graph

130 commits

Author SHA1 Message Date
Anton-4
6ccc828ee5
correct error message 2025-01-07 16:32:16 +01:00
Jakub Konka
4764b23282
cli: add --verbose flag to CMD_BUILD 2024-12-31 11:57:59 +01:00
Brendan Hansknecht
d74a3c0746
Merge remote-tracking branch 'origin/main' into upgrade-llvm-zig 2024-12-12 13:29:10 -08:00
faldor20
a7308130cf
clippy on everything 2024-12-12 20:54:25 +10:00
faldor20
81f2095e61
basic working
compiling, but still missing positions from expression errors
2024-12-12 20:54:25 +10:00
Brendan Hansknecht
87537b800e
merge llvm ir optimization locations 2024-12-11 17:33:20 -08:00
Luke Boswell
2feb5d3c2e
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-11-29 08:58:47 +11:00
Luke Boswell
34f5b61c3b
restore --no-link build pipeline 2024-11-21 16:20:05 +11:00
Anton-4
0ab04c0d7e
remove mentions of --prebuilt-platform 2024-11-13 18:52:01 +01:00
Luke Boswell
dc3aa06d61
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-11-13 09:02:20 +11:00
Anton-4
9a3495cfae
minor cleanup 2024-11-12 19:16:20 +01:00
Luke Boswell
81f466fee0
cargo fmt 2024-11-04 13:59:14 +11:00
Anton-4
afd26360a0
removed unused dependency, wasm benchmark debugging progress 2024-10-26 19:59:57 +02:00
Luke Boswell
d0ee040421
make clippy happy 2024-10-24 11:31:15 +11:00
Anton-4
63b8e50d96
refactoring PrebuiltHost, fixed glue tests 2024-10-23 19:30:39 +02:00
Anton-4
b346adfab8
fixes and refactoring progress 2024-10-16 16:39:16 +02:00
Anton-4
a12d281707
fix 'Only 64bit little endian...' with prebuilt platform 2024-10-15 16:15:41 +02:00
Luke Boswell
de9491eb7f
Merge remote-tracking branch 'remote/main' into rebuild-platform 2024-10-09 09:57:27 +11:00
Anton-4
03a2d364a6
fix surgical linking 2024-10-08 11:45:46 +02:00
Brendan Hansknecht
5b8b781bad
remove single entrypoint 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
a9d1327dd1
Enable multiple functions exposed to the host 2024-10-07 21:16:30 -07:00
Luke Boswell
e7a90f1ab5
fix clippy 2024-08-18 15:22:16 +10:00
Luke Boswell
861222078e
fix plumbing for roc_glue 2024-08-18 15:05:57 +10:00
Luke Boswell
767ec7af84
cli run tests passing on macos 2024-08-16 17:59:53 +10:00
Luke Boswell
0767115414
WIP refactor to build test platform once per test run 2024-08-16 12:05:47 +10:00
Luke Boswell
9ecb209f73
add suppress warning flag, remove test test_roc_app_slim 2024-08-16 11:29:39 +10:00
Sam Mohr
28ceb0e93f
Fix formatting and clippy issues 2024-08-14 19:48:38 -07:00
Luke Boswell
8090e99e75
cleanup llvm module optimisation passes 2024-08-04 12:13:01 +10:00
Luke Boswell
4c9610b147
WIP add llvm optimisation passes 2024-07-31 05:22:40 +10:00
Ryan Barth
bc29782420
checkpoint: Run struct refactor for helpers 2024-07-22 04:07:58 -07:00
Ryan Barth
dfa3254088
checkpoint: it compiles 2024-07-11 00:57:46 -07:00
Ryan Barth
61a5a0affc
checkpoint: refactor prebuilt host artifacts 2024-07-09 03:42:37 -07:00
Luke Boswell
96c559e4b1
minor fixes 2024-07-09 14:52:07 +10:00
Luke Boswell
85447ec2cc
replace stray strings with impl on Target 2024-07-09 14:39:36 +10:00
Luke Boswell
dc0902bc92
WIP
WIP

WIP

WIP

ignore some cli tests that are going to move

try fix for linux valgrind tests

try a legacy host for valgrind

fix roc_glue tests
2024-07-09 13:48:09 +10:00
Ayaz Hafiz
0e52a7e069
Make sure FunctionKind is determined in all entry points
There are a lot of entry points for a Roc program. They should probably
be all consolidated into one, but for now, when FunctionKind is needed,
determine it from the environment. This fixes EXPERIMENTAL_ROC_ERASE for
`roc test` etc.

Also print the location of a failure when `internal_error!` is called. I
think this should panic instead, and I thought it used to - does anyone
know if that changed?
2024-07-07 16:01:14 -05:00
Anton-4
1bcf30391b
Merge pull request #6819 from roc-lang/rust-1-77-2-upgrade
Rust 1.77.2 upgrade
2024-07-06 03:23:54 +02:00
Luke Boswell
b92d0ef315
fix host_dest in preprocessed_host 2024-06-28 15:25:07 +10:00
Luke Boswell
ee84b61360
update preprocess host API 2024-06-28 09:12:45 +10:00
Anton-4
05a61e2210
clippy + fmt 2024-06-19 12:34:10 +02:00
Agus Zubiaga
4e5fdfbf52
Handle root type when loading from str 2024-06-08 19:46:41 -03:00
Agus Zubiaga
2da7ea394b
Add --main flag to specify app/package to resolve deps from 2024-06-07 17:09:44 -03:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Anton-4
0486da933f
use println for clippy
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-03-09 16:26:52 +01:00
Hristo Georgiev
ee819cb7d1
Add newline after "Failed with error" msg 2024-03-09 12:54:08 +00:00
Anton-4
ce606916a3
emit-ir and style improvement 2024-03-06 17:15:34 +01:00
Anton-4
f620508a37
misc improvements 2024-03-04 17:10:59 +01:00
Brendan Hansknecht
abc4fd18cc
add --fuzz option to roc 2024-01-25 15:42:18 -08:00
Brendan Hansknecht
607d2d6adc
stop overwritting manually set file extensions 2024-01-06 09:10:23 -08:00
Brendan Hansknecht
dbcb6ca5da
clippy 2023-12-04 13:53:56 -08:00