Commit graph

296 commits

Author SHA1 Message Date
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
f69d39dffc
Merge pull request #6808 from roc-lang/process-host
Update preprocess host API
2024-07-03 10:23:44 +10:00
Luke Boswell
b92d0ef315
fix host_dest in preprocessed_host 2024-06-28 15:25:07 +10:00
Luke Boswell
44d76d78a1
Merge pull request #6833 from shua/fixme
resolve TODO: don't use vec
2024-06-28 12:44:43 +10:00
Luke Boswell
ee84b61360
update preprocess host API 2024-06-28 09:12:45 +10:00
shua
91c071713b
appease clippy (only on mac silicon?) 2024-06-24 16:53:32 +02:00
Ryan Barth
1858fc90e1
fix: use path finder everywhere, fix get_relative_path() call 2024-06-23 12:02:50 -07:00
Ryan Barth
5a231763af
fix: change target directory output to match release tarball structure 2024-06-23 10:00:36 -07:00
shua
4d0112ef2a
resolve TODO: don't use vec 2024-06-23 16:20:05 +02:00
Anton-4
05a61e2210
clippy + fmt 2024-06-19 12:34:10 +02:00
Anton-4
fb7fa99b2c
Merge branch 'main' of github.com:roc-lang/roc into rust-1-77-2-upgrade 2024-06-18 18:47:09 +02:00
Luke Boswell
3976c39c6d
add SystemConfiguration framework 2024-06-12 15:46:45 +10: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
Luke Boswell
3a2b27dcdb
default to host libhost for prebuilt platform binary if target specific not found 2024-05-20 19:41:02 +10:00
Anton-4
d16409552c
rust 1.77 upgrade 2024-04-16 15:49:28 +02:00
Anton-4
a7b843743d
upgrade to rust 1.76.0 2024-04-15 19:20:07 +02:00
Anton-4
4d9202ec6e
upgrade to rust 1.75.0 2024-04-15 16:29:23 +02:00
Anton-4
46daccef62
rust 1.73.0 -> 1.74.1 2024-04-12 17:16:09 +02:00
Anton-4
83904ec62b
Merge pull request #6591 from FabHof/dec-float-decoding-builtins
Add builtins for dec and float
2024-04-08 13:24:31 +02:00
Anton-4
e6e708360c
1.72.1->1.73.0 2024-04-06 15:38:14 +02:00
Anton-4
bb38721eaf
zig host target native->x86_64-native 2024-04-06 13:51:53 +02:00
Oskar Hahn
62e30fd7d0
Call cargo fmt --all 2024-04-01 12:52:56 +02:00
Oskar Hahn
aec618d5fc
Remove the .1 version libapp.so and the fileextension .1.0 2024-04-01 12:41:09 +02: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
Richard Feldman
c217456f05
Merge pull request #6558 from jschear/js/move_cli_testing_examples
Move cli_testing_examples under crates/cli/tests
2024-03-08 09:43:59 -05:00
Anton-4
ce606916a3
emit-ir and style improvement 2024-03-06 17:15:34 +01:00
Jonathan Schear
ae6516d54f
Remove remaining usages of cli_testing_examples folder 2024-03-06 09:58:11 -05:00
Anton-4
d232a843e4
Merge pull request #6543 from roc-lang/minor-linking-cleanup
link_linux code style improvements
2024-03-05 16:31:49 +01:00
Anton-4
f620508a37
misc improvements 2024-03-04 17:10:59 +01:00
Anton-4
9e05d21b3f
less verbose build debugging 2024-02-28 13:50:48 +01:00
Anton-4
bb0df1ef0a
link_linux cleanup 2024-02-28 12:33:34 +01:00
Oskar Hahn
06ab08003f
Export all symbols on wasm builds 2024-02-26 15:40:58 +01:00
Brian Carroll
a9a1ae1511
Get rid of dead code warning 2024-02-06 08:17:31 +00:00
Brian Carroll
0f19ecbb86
Handle env vars in debug printing 2024-02-06 08:04:00 +00:00
Brian Carroll
26fdbaf4cd
Create a debug flag for build commands 2024-02-06 07:54:55 +00:00
Folkert
41ad915c35
make an inline expect triggered by a top-level expect work 2024-02-01 13:08:01 +01:00
Brendan Hansknecht
689a930082
Merge remote-tracking branch 'origin/main' into rust-1-72-upgrade 2024-01-27 08:07:48 -08:00
Brendan Hansknecht
bdbbfb36d1
add ROC_LINK_FLAGS support to linux 2024-01-26 20:55:16 -08:00
On vacation
4ee3431428
Merge branch 'main' into rust-1-72-upgrade 2024-01-26 13:39:34 +01:00
Brendan Hansknecht
abc4fd18cc
add --fuzz option to roc 2024-01-25 15:42:18 -08:00
Brendan Hansknecht
260b94b36d
Merge branch 'main' into rust-1-72-upgrade 2024-01-17 14:36:16 -08:00
Brendan Hansknecht
607d2d6adc
stop overwritting manually set file extensions 2024-01-06 09:10:23 -08:00
Anton-4
26f0448a94
rust 1.71.1 -> 1.72.1 2023-12-27 17:27:03 +01:00
Brendan Hansknecht
dbcb6ca5da
clippy 2023-12-04 13:53:56 -08:00
Brendan Hansknecht
fc09c3b002
remove debugir 2023-12-04 13:50:53 -08:00