Richard Feldman
319fdbfaf7
Add packages-test to fixtures gitignore
2022-12-16 12:28:15 -05:00
Richard Feldman
c4da82cdae
Fix CLI test for packages
2022-12-16 12:27:22 -05:00
Richard Feldman
1d670cd0cf
Add CLI test for packages
2022-12-16 12:22:50 -05:00
Brian Carroll
3588e57c6a
clippy
2022-12-16 16:22:52 +00:00
Brian Carroll
eaf0211808
cli: update run_wasm to use roc_wasm_interp
2022-12-16 14:52:11 +00:00
Brian Carroll
09fee71084
cli: Convert run_wasm to work with roc_wasm_interp
2022-12-16 14:52:11 +00:00
Brian Carroll
fec64f0766
cli: remove wasmer dependency and rename run_with_wasmer->run_wasm
2022-12-16 14:52:10 +00:00
Brendan Hansknecht
faaa466c70
Merge pull request #4774 from roc-lang/enable-fuzzing
...
[simple PR] Enable fuzzing and sanitizers
2022-12-16 00:22:00 +00:00
Folkert de Vries
f550f049db
Merge pull request #4768 from roc-lang/expects-store-specialized-variable
...
Support using dbg/expect in polymorphic functions
2022-12-16 00:10:40 +01:00
Brendan Hansknecht
ed002ca68a
add a feature flag and environment variable to enable santizers and fuzzing
2022-12-15 08:29:10 -08:00
Brendan Hansknecht
1b92a24577
avoid building platform for link type dylib and no link
...
Both of these cases do not tie to a platform. The roc app can be built without considering the platform.
It is often the case that the platform is using one of these options because roc cannot build the platform.
This allows for more flexibility and avoids wasting time compiling the platform.
2022-12-14 17:34:07 -08:00
Ayaz Hafiz
a4f124687d
Add a test for polymorphic dbgs
2022-12-14 17:02:43 -06:00
Folkert
9c72eb5b93
test expects for variables and expressions
2022-12-09 00:04:43 +01:00
Folkert
4b9e64fd7d
Merge branch 'expect-dbg-atomics' into expect-print-values
2022-12-08 23:43:11 +01:00
Folkert
13d0b75bc1
Merge remote-tracking branch 'origin/main' into expect-print-values
2022-12-08 23:42:03 +01:00
Richard Feldman
5958f50728
Drop obsolete mentions of roc_send_signal
2022-12-08 06:36:12 -05:00
Folkert
3bae4145d9
do expect/dbg with atomics
2022-12-08 00:41:20 +01:00
Folkert
98560c63e6
fix bad merge
2022-12-05 12:54:57 +01:00
Folkert
ae8b0b4a1b
use some custom types in cli_run to clarify code
2022-12-04 23:22:36 +01:00
Brendan Hansknecht
8e710cb80e
disable wasm tests that are broken
2022-12-03 13:17:36 -08:00
Folkert
23274fbb8d
fix incorrect path used
2022-12-02 21:39:08 +01:00
Ayaz Hafiz
845a2f8c75
Report warnings in roc test
2022-12-02 14:11:58 -06:00
Ayaz Hafiz
0a4ec1958b
roc test stops if there are type errors
2022-12-02 14:11:57 -06:00
Folkert
bc4473132d
ignore some cache files
2022-12-02 18:52:22 +01:00
Folkert
f55ca53088
move the test files to prevent race condition on platform
2022-12-02 15:43:49 +01:00
Folkert
fdd72c8ce3
add test for roc dev and roc test
2022-12-02 15:43:49 +01:00
Folkert
dba23c5889
be explicit about valgrind usage
2022-12-02 15:43:49 +01:00
Folkert
9bee0a6fa5
add test for inline expect
2022-12-02 15:43:48 +01:00
Ayaz Hafiz
a42c7c00a6
Turn on roc dev
test for env.roc again
2022-12-01 09:10:26 -06:00
Richard Feldman
d949a918e4
Use false interpreter in type mismatch test
2022-11-26 19:04:35 -05:00
Richard Feldman
2eb9531817
Fix regression on printing "Rebuilding platform…"
2022-11-25 16:41:54 -05:00
Richard Feldman
39792bf144
Drop extraneous cwd.join
...
This actually caused a bug! To reproduce:
cargo run -- build --prebuilt-platform=false examples/cli/file.roc
2022-11-25 04:47:36 -05:00
Richard Feldman
99f55d6ed6
Merge remote-tracking branch 'origin/main' into https-packages
2022-11-24 19:14:31 -05:00
Richard Feldman
1a1bc3a7cf
Merge branch 'fix-test' into simplify-cli-platform
2022-11-24 15:39:31 -05:00
Richard Feldman
b9b03d432a
Merge remote-tracking branch 'origin/main' into https-packages
2022-11-24 13:14:36 -05:00
Richard Feldman
ac2d50aea9
Merge pull request #4542 from roc-lang/precompiled-legacy
...
Precompiled legacy linking
2022-11-24 13:13:48 -05:00
Richard Feldman
69a7c3ea15
Centralize host tempfile builder logic
2022-11-24 10:05:27 -05:00
Richard Feldman
4b64f8c9e9
Make sure tempfiles don't get dropped too early
2022-11-24 10:05:27 -05:00
Richard Feldman
30d72d0bc7
Give tempfiles the file extensions Zig expects
2022-11-24 10:05:27 -05:00
Richard Feldman
1679c62a0a
Use include_bytes! so builtin hosts live in binary
2022-11-24 10:05:26 -05:00
Ayaz Hafiz
9dbc2224fb
Fix imports
2022-11-24 10:05:25 -05:00
Richard Feldman
d00f421946
Fix test
2022-11-24 04:38:55 -05:00
Richard Feldman
f5cb2d73a1
Merge branch 'precompiled-legacy' into https-packages
2022-11-24 04:29:56 -05:00
Richard Feldman
c86e3f4677
Revert "Drop unused parameter"
...
This reverts commit d925e43465
.
2022-11-24 04:20:17 -05:00
Richard Feldman
3ec21109d7
Fix race condition in copying preprocessedhost
2022-11-24 03:29:51 -05:00
Richard Feldman
8bbc3ad925
Drop Program and third type param from Task
2022-11-24 03:21:14 -05:00
Richard Feldman
28bccb792f
Merge remote-tracking branch 'origin/main' into precompiled-legacy
2022-11-24 02:20:50 -05:00
Richard Feldman
d925e43465
Drop unused parameter
2022-11-24 02:15:40 -05:00
Richard Feldman
e8f5c13cf9
Consider linking type in preprocessed_host_path
2022-11-24 02:14:46 -05:00
Richard Feldman
9627946144
Drop redundant file copy
2022-11-24 02:10:09 -05:00