Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue
2023-03-29 19:43:59 +02:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue
2023-03-21 11:07:47 -07:00
Anton-4
8da9af94f2
use latest basic-cli, better error messages
2023-03-20 20:06:36 +01:00
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-14 01:01:26 +01:00
Brendan Hansknecht
d5e191d083
split up bitcode building to reduce dependency chains
2023-03-10 09:39:43 -08:00
Folkert
938f7172dd
restore creation of the libapp.o file
2023-03-08 19:43:34 +01:00
Brendan Hansknecht
5573ab2275
Merge branch 'glue-getters-rtfeldman' into pluggable-glue
2023-03-05 17:11:25 -08:00
Brendan Hansknecht
17ece67999
get roc glue working directly with .roc
plugin files
2023-03-05 12:33:46 -08:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-05 17:24:05 +01: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
454f3c603e
give the new exposed symbols to the surgical linker
2023-02-25 19:35:46 +01:00
Folkert
6c15284a8f
more wip; now we just need to generate the exposed procs at the right time
2023-02-08 22:56:38 +01:00
Folkert
bb44063419
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-01-18 20:06:26 +01:00
Anton-4
a97c53d7ca
1.65 changes and clippy fixes
2023-01-17 18:09:16 +01:00
Brendan Hansknecht
b79c855f15
enable using both cargo-fuzz and afl.rs for fuzzing
2023-01-04 11:45:47 -08:00
Folkert
1c1112ec35
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-01-04 20:45:01 +01:00
Ayaz Hafiz
759f8d86af
Fix lifetime errors due to interner
...
In the llvm backend, there are the lifetimes `'a` (lifetime of the
global arena) and `'ctx` (lifetime of constructed LLVM values). `'a`
lives longer than `'ctx`, but the compiler didn't enforce this until
the layout interner was introduced, for some reason. We have to make
sure that containers of lifetime `'a` have no `'ctx` references.
2022-12-29 11:38:34 -06:00
Ayaz Hafiz
7ab7fdfa7b
Push interned layouts as mut throughout the backend, and intern box layouts
2022-12-28 18:51:26 -06:00
Brendan Hansknecht
1878250e36
add message about supported sanitizers
2022-12-15 14:43:52 -08:00
Brendan Hansknecht
bf9a588acf
clippy
2022-12-15 08:49:44 -08:00
Brendan Hansknecht
4571b5b805
some minor cleanup
2022-12-15 08:39:33 -08:00
Brendan Hansknecht
a0622d57a2
ignore stderr print. They are warnings.
2022-12-15 08:29:10 -08:00
Brendan Hansknecht
5ea5208070
also remove unnecessary command from debug path
2022-12-15 08:29:10 -08:00
Brendan Hansknecht
ed002ca68a
add a feature flag and environment variable to enable santizers and fuzzing
2022-12-15 08:29:10 -08:00
Richard Feldman
e3687935a3
Merge remote-tracking branch 'origin/main' into refactor-platform-info
2022-12-09 22:21:25 -05:00
Richard Feldman
63e9f5da8c
Go back to old opt_main_for_host
2022-12-09 22:18:52 -05:00
Folkert
a72556b927
refactor entry point
2022-12-09 15:10:25 +01:00
Richard Feldman
8b463686bc
Propagate multiple entrypoints to alias analysis
2022-12-08 15:31:42 -05:00
Ayaz Hafiz
91ceebc065
Fix imports
2022-11-22 11:00:14 -06:00
Ayaz Hafiz
03e6d6d7e0
Report builtins type errors during load building as appropriate
2022-11-22 10:36:41 -06:00
Richard Feldman
d3d21630e8
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2022-11-15 12:16:19 -05:00
Folkert
031866799a
use inkwell's FunctionIterator
2022-11-13 14:51:24 +01:00
Richard Feldman
99420f65ed
Merge branch 'glue-exposed' into glue-getters
2022-11-11 17:02:27 -05:00
Folkert
92cc120c7f
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-11-05 12:21:37 +01:00
Folkert
66a1ba00eb
1.65 clippy fixes
2022-11-03 16:20:37 +01:00
Folkert
c9aedff3e8
glue getters in mono
2022-11-02 21:36:32 +01:00
Folkert
92afe5a46e
add case to emit wasm via llvm
2022-10-16 17:02:23 +02:00
Folkert
323210c547
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-10-16 13:56:30 +02:00
Luca Cervello
c39103d6d0
chore: replace panic! with internal_error!
2022-10-11 11:52:08 +02:00
Folkert
61c26dfd4d
pick whether to do expects based on the opt level
2022-10-06 00:06:43 +02:00
Folkert
fe9da8316d
clone less
2022-10-05 23:45:31 +02:00
Folkert
f838a94c00
extra target/codegen config
2022-10-05 23:19:44 +02:00
Folkert
8c4a2f58fc
working expects in roc dev
2022-10-05 22:17:40 +02:00
Folkert
8facec44d0
fix error in feature-gated code
2022-09-25 00:30:56 +02:00
Folkert
97f2ad26e2
keep app bytes in memory
2022-09-24 23:55:29 +02:00
Jan Van Bruggen
68be131bd7
Rephrase "precompiled platform" to "prebuilt platform"
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
5663a1d9f9
Rephrase "precompiled host" to "precompiled platform"
...
This is for clarity to Roc app developers, for whom "host" is not
necessarily in their Roc vocabulary. Additionally, this phrasing
is simply more accurate.
2022-09-11 10:25:01 -06:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout
2022-08-31 14:33:52 -05:00
Ayaz Hafiz
ed04c2040a
Push the layout interner through the backends
2022-08-31 14:33:52 -05:00
Brian Carroll
91489ce6bd
cli: create an option for wasm dev backend stack size
2022-08-08 22:28:58 +01:00