Kiryl Dziamura
9c133f72d8
test bang in dbg arg
2024-06-28 13:31:47 +02:00
Kiryl Dziamura
aa17d17c60
handle bang in dbg arg
2024-06-28 13:26:38 +02: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
df9718ac1e
Merge pull request #6733 from jdsee/patch-1
...
Document LSP configuration via nvim-lspconfig
2024-06-28 11:23:04 +10:00
Joscha Seelig
7e3d5752b9
Fix typo
...
Signed-off-by: Joscha Seelig <45944324+jdsee@users.noreply.github.com>
2024-06-28 10:23:32 +10:00
Joscha Seelig
20a5bd668a
Document LSP configuration via nvim-lspconfig
...
Signed-off-by: Joscha Seelig <45944324+jdsee@users.noreply.github.com>
2024-06-28 10:23:31 +10:00
Luke Boswell
1c091e6cd5
Merge pull request #6826 from JRI98/fix_6825
...
Handle multi pattern unbound list rest variables
2024-06-28 10:18:11 +10:00
Luke Boswell
ca0ebe613d
Merge pull request #6842 from JackoCoolio/fix-dev-exit-code
...
Make `roc dev someFile.roc` forward exit status
2024-06-28 10:16:45 +10:00
Luke Boswell
ee84b61360
update preprocess host API
2024-06-28 09:12:45 +10:00
Isak
eb98dd7bde
move comment
2024-06-27 13:38:30 -04:00
Isak
cc7d3d3e1d
fix: allow multiple newlines between signature and body
2024-06-27 13:34:09 -04:00
Sam Mohr
cd488300fd
Merge branch 'main' into builtin-task
2024-06-26 03:17:56 -07:00
Sam Mohr
43fadeacdb
Fix clippy errors
2024-06-26 03:15:06 -07:00
Sam Mohr
5ea6a8bdcd
Fix all tests that don't depend on basic-cli
2024-06-26 02:51:16 -07:00
Sam Mohr
4b7d9c9222
Fix generated type for foreign-call task wrappings
2024-06-26 02:34:24 -07:00
Jackson Wambolt
d0f8dbe85b
Clean up roc_dev_native
a bit
...
`writer` is only used by the parent process, so we don't need the
soon-to-be-forked child process to create it just to immediately get
overwritten by `execve`.
2024-06-26 01:49:13 -05:00
Jackson Wambolt
11c9b90551
Get exit code correctly
...
`status` isn't the exit code of the program - the actual exit code is
shifted left by 8 bits. We can get that with a `WIFEXITED` check to make
sure the exit code exists, followed by `WEXITSTATUS` to retrieve it.
2024-06-26 01:49:13 -05:00
Jackson Wambolt
1f0303cf53
Narrow use of unsafe in roc_run_native
...
`roc_run_native_fast` is actually the only unsafe part of the function,
so we probably don't need everything to be wrapped in an `unsafe` block.
2024-06-26 01:43:19 -05:00
Ayaz Hafiz
8cdb193301
Update stale document references
2024-06-26 02:16:20 -04:00
Agus Zubiaga
ad6dde10af
Load packages of platform
2024-06-25 21:39:55 -03:00
Agus Zubiaga
c36595e60d
Load packages of packages
2024-06-25 21:29:21 -03:00
Kiryl Dziamura
bff73ff6b2
check if final expr in deps is suffixed
2024-06-25 19:14:18 +02:00
Anton-4
1b10772bcb
Merge pull request #6648 from JackoCoolio/unmacro_parsers
...
Unmacro parser combinators
2024-06-25 12:54:22 +02:00
Sam Mohr
700c7ae9aa
Add Task as a built-in module/type
2024-06-25 00:03:56 -07:00
Anton-4
d47a073634
Merge pull request #6834 from r-bar/fix/wasi-libc-lib
...
fix: wasi-libc.a library packaging
2024-06-24 16:57:05 +02: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
f8432f7510
fmt
2024-06-22 20:09:15 +02:00
Anton-4
ab217ede3f
Merge remote-tracking branch 'upstream/main' into unmacro_parsers
2024-06-22 20:02:30 +02:00
shua
e2eb9c9aaa
rm dead FIXME comment
...
this comment was added originally in 24e6cd80e7
, but was a comment on a `if cfg(..) {...}` block. Later that `if` was removed but the comment was not, and eventually got copied to another location making it even harder to figure out why it's there.
2024-06-22 19:07:26 +02:00
JRI98
f4551978ce
Handle multi pattern unbound list rest variables
2024-06-21 17:01:49 +01:00
Luke Boswell
03eadc2e0f
Merge pull request #6822 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/braces-3.0.3
...
Bump braces from 3.0.2 to 3.0.3 in /crates/compiler/checkmate/www
2024-06-21 18:17:19 +10:00
Evan Relf
2a71dccf5e
Add tests
2024-06-19 15:19:25 -07:00
Evan Relf
d678f1c049
Format shebangs correctly
...
Fixes the regression I described in [#1135 ].
[#1135 ]: https://github.com/roc-lang/roc/issues/1135
2024-06-19 15:07:22 -07:00
dependabot[bot]
f43c6b2026
Bump braces from 3.0.2 to 3.0.3 in /crates/compiler/checkmate/www
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-19 21:13:36 +00:00
Anton-4
d921d77ab6
removed TODO
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-06-19 19:33:12 +02:00
Anton-4
c54c0e9741
skip advanced_recursive_union
...
see #5924
2024-06-19 15:37:14 +02:00
Anton-4
212c736806
macos clippy
2024-06-19 14:11:42 +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
Richard Feldman
b79ee68729
clippy
2024-06-17 22:25:15 -04:00
Richard Feldman
d2e1428003
Delete worker.rs for now
2024-06-17 22:25:15 -04:00
Richard Feldman
d1a002f49e
Have file.rs use the new roc_worker
crate
2024-06-17 22:21:07 -04:00
Richard Feldman
4042fd8d52
Split out work.rs into its own crate
2024-06-16 22:26:58 -04:00
Agus Zubiaga
facae9d56c
Fix platform root module flag
...
When loading a platform module as the root, the `is_root_module`
flag in `HeaderInfo` would be set to `false`. This caused issues
with docs generation.
2024-06-12 19:00:15 -03:00
Luke Boswell
3976c39c6d
add SystemConfiguration framework
2024-06-12 15:46:45 +10:00
Anton-4
ba506d5257
merge fix
2024-06-11 18:24:22 +02:00