Folkert
394495d307
Revert "update size asserts"
...
This reverts commit 9973d4b8d2
.
2023-04-21 13:22:23 +02:00
Folkert
4cd8f0a056
clippy --fix fixes
2023-04-21 12:05:51 +02:00
Brendan Hansknecht
9a87675368
fix typo
2023-04-09 21:13:21 -07:00
Brendan Hansknecht
e5b88366fe
add proper error messages for ingested files
2023-04-09 14:03:33 -07:00
Brendan Hansknecht
8f4945f286
make file loading errors that happen late in compilation still fatal
2023-04-09 14:03:33 -07:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue
2023-03-29 19:43:59 +02:00
Brendan Hansknecht
2f6f5c09a0
remove old windows specific symbols. Now added by glue
2023-03-28 14:40:50 -07:00
Richard Feldman
977b7394f5
Reorder roc glue
arguments and add a default
2023-03-24 22:17:54 -04:00
Richard Feldman
194e74ec38
Fix typo
2023-03-24 20:53:22 -04:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue
2023-03-21 11:07:47 -07:00
Anton-4
4737a5c01e
fix clap error
...
339884894
2023-03-12 15:50:59 +01:00
Brendan Hansknecht
17ece67999
get roc glue working directly with .roc
plugin files
2023-03-05 12:33:46 -08:00
Brendan Hansknecht
abdc84d927
create conversion code from Types to the roc version of Types
2023-03-05 12:33:43 -08:00
Brendan Hansknecht
2f9e1ad539
change glue api to enable writing multiple files
2023-03-05 12:33:41 -08:00
Brendan Hansknecht
7a944113a0
move build_file and related functions to roc_build
...
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
2023-03-04 10:00:43 -08:00
Folkert
407fef0602
fix compilation on non-linux systems
2022-12-30 14:30:10 +01:00
Folkert
9500b0b97b
stop writing to files
2022-12-30 14:30:10 +01:00
Folkert
b81aed852a
properly display valgrind problems
2022-12-30 14:30:09 +01:00
Folkert
32e3f01a28
refactor printing error counts
2022-12-30 14:30:08 +01:00
Folkert
1a2e1aecdb
fix wasm host compilation
2022-12-29 16:50:21 +01:00
Folkert
479caaf0a9
clean up path usage
2022-12-29 16:50:21 +01:00
Folkert
356875a851
simplify host extension
2022-12-29 16:50:20 +01:00
Folkert
1995d8b3df
refactor cli/src/build.rs
2022-12-29 16:50:20 +01:00
Folkert
a2c760aa56
keep conditional compilation local
2022-12-29 16:50:20 +01:00
Folkert
e44bf59334
remove argument from load_and_monomorphize
2022-12-29 16:50:19 +01:00
Folkert
92da3973e7
remove argument from load_and_typecheck
2022-12-29 16:50:19 +01:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file
2022-12-24 22:32:13 -05: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
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
Folkert
3bae4145d9
do expect/dbg with atomics
2022-12-08 00:41:20 +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
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
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
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
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
Folkert
e44a8a9eed
print all the relevant info
2022-11-23 22:58:58 +01:00