Luke Boswell
5b0865c27e
replace cargo deps with workspace in docs_cli, fs, glue
2024-11-29 10:47:36 +11:00
shua
621bd177e6
rm unused dependencies
...
left in perfcnt and criterion-perf-events because they are used in
nightly_benches, which is not included in the workspace so cargo doesn't
know about it. All the others are not currently used anywhere in the
repository.
2024-11-26 23:05:23 +01:00
svcxc
14ec7e4b0b
add doc comment
2024-11-19 11:28:33 +01:00
svcxc
c84e71602c
deleted erroneous host.c files
2024-11-19 11:28:32 +01:00
Anton-4
9eb72959e5
update skip test names
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-11-18 17:51:21 +01:00
svcxc
abf685be11
type in code, forgot to commit
2024-11-15 10:27:30 +01:00
svcxc
f58b0f31e2
removed stray dbg!
2024-11-15 10:05:40 +01:00
svcxc
25f7be8d5a
updated ZigGlue.roc header
2024-11-15 09:59:32 +01:00
svcxc
5617d2d0ce
allow for missing fixture-templates subfolders, as git ignores them when they're empty
2024-11-15 09:54:53 +01:00
svcxc
99a5fa9d3c
formatting
2024-11-15 09:40:52 +01:00
svcxc
1ae9359060
tried removing and gitignoring build files
2024-11-15 09:33:44 +01:00
svcxc
95b39ce7f2
glue tests are no longer hard-coded to Rust
2024-11-14 11:55:58 +01:00
Luke Boswell
8a566dc339
WIP
2024-11-11 10:22:58 +11:00
Luke Boswell
c00db6da37
Merge remote-tracking branch 'remote/main' into rebuild-platform
2024-11-04 13:57:51 +11:00
Jasper Woudenberg
5961e2dd9d
Fix typos in creates/glue/README.md
2024-10-26 15:37:07 +02:00
Ayaz
e1183e58e5
Merge pull request #7179 from JRI98/unused_emptytuple
...
Remove unused EmptyTuple variant from FlatType enum
2024-10-25 09:19:57 -04:00
Luke Boswell
d0ee040421
make clippy happy
2024-10-24 11:31:15 +11:00
Luke Boswell
926014518f
Merge remote-tracking branch 'remote/main' into rebuild-platform
2024-10-24 10:21:08 +11:00
Anton-4
63b8e50d96
refactoring PrebuiltHost, fixed glue tests
2024-10-23 19:30:39 +02:00
JRI98
edd0bb553d
Remove unused EmptyTuple variant from FlatType enum
2024-10-22 16:29:53 +01:00
Richard Feldman
44d00e1f13
Updates for making soa
no_std
2024-10-21 22:10:43 -04:00
Jasper Woudenberg
1ab8fd55a9
Add extra documentation around glue
2024-10-20 20:31:11 +02:00
Anton-4
3bad18dc92
refactoring progress, use valgrind on exe
2024-10-09 20:04:36 +02:00
Luke Boswell
e3afeaa7ff
WIP Merge remote-tracking branch 'remote/main' into rebuild-platform
2024-10-09 09:21:46 +11:00
Omar Jatoi
3f318e2235
update existing calls to roc_cache_dir()
...
using `roc_cache_packages_dir()` instead, which will return "~/.cache/roc/packages", which was the existing functionality, but `roc_cache_dir()` will now return "~/.cache/roc"
2024-10-03 12:52:52 -04:00
Brendan Hansknecht
a7eae239f0
Avoid explicit tag padding
...
Explicit padding changes the c-abi when passed to/returned from functions.
This is leading to incorrect loading of types like `Task U64 {}`.
2024-09-16 16:47:20 -07:00
Anton-4
69bbcfeeca
add nullable_unwrapped to exceptions
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-09-04 12:01:23 +02:00
Anton-4
5b202d3e8f
skip nonnullable_unwrapped
...
See https://github.com/roc-lang/roc/issues/5924 for context
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-09-04 11:43:30 +02:00
Luke Boswell
012a2fc63f
Merge remote-tracking branch 'remote/main' into rebuild-platform
2024-09-03 20:35:39 +10:00
Sam Mohr
12df3a04de
Merge attempt
2024-08-19 23:34:05 -07:00
Luke Boswell
861222078e
fix plumbing for roc_glue
2024-08-18 15:05:57 +10:00
Luke Boswell
ac78d393f9
Merge remote-tracking branch 'remote/main' into rebuild-platform
2024-08-17 17:43:35 +10:00
Sam Mohr
7edb5a8e3b
Remove unused backtrace
dependency
2024-08-16 10:31:56 -07:00
Luke Boswell
767ec7af84
cli run tests passing on macos
2024-08-16 17:59:53 +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
550baded7f
Merge branch 'main' into rebuild-platform
2024-08-14 19:39:30 -07:00
Sam Mohr
4ec213a114
Get tests working
2024-08-14 19:31:45 -07:00
Sam Mohr
db0c49b38f
Fix merge issue
2024-08-13 00:30:26 -07:00
Anton-4
12f9bacf6e
fix errors
2024-08-10 12:39:02 +02:00
Anton-4
635e6058cc
allow glue check toggle
2024-08-10 12:28:37 +02:00
Sam Mohr
77e1fe3f6e
Add Task.Task glue gen support
2024-08-03 04:08:17 -07:00
Brendan Hansknecht
9110457480
cleanup refcount generation for record fields
2024-07-13 10:39:59 -07:00
Brendan Hansknecht
3198ed5c8e
minimal generation to get glue tests passing
2024-07-13 10:39:58 -07:00
Brendan Hansknecht
2cd0d51409
add RocRefcounted to RocBox
2024-07-13 10:39:58 -07:00
Brendan Hansknecht
386f7a6729
update glue fixtures to new syntax
2024-07-13 10:39:58 -07:00
Brendan Hansknecht
6da61d0d16
re-enable glue tests and add unimplemented RocRefcounted impl
2024-07-13 10:39:58 -07:00
Brendan Hansknecht
9a020100a9
skip broken glue tests for now
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
c79febb52d
Change RocRefcounted to have argumentless inc function
...
Just inc by 1. No need for inc by n.
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
442ba0b49a
Manually implement RocRefcounted in Glue
...
I needed to update RustGlue.roc to generate this.
That said, I want to see and measure results.
As such, I am just manually implementing this for now!
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
93fab26c01
Add a RocRefcounted trait in roc_std
...
This is required to properly handle refcounting of RocList.
Without it, we can't tell if we need to get the length from the heap.
That said, it isn't a pretty solution.
I think dealing with generating bespoke type in glue would feel nicer than this but be much more work.
It also would deal with the issue of implementations in the bitcode not matching external libraries.
That said, it would require exposing way more symbols from roc for each monomophorphized list variant.
2024-07-13 10:39:51 -07:00