Commit Graph

29021 Commits

Author SHA1 Message Date
Richard Feldman
f0f8d76055
Remove heap_alloc for now 2024-06-30 08:17:35 -04:00
Richard Feldman
39144a198d
Make error_and_exit inline(never) and cold 2024-06-30 08:17:35 -04:00
Richard Feldman
6102e38f33
Use target_arch if targeting wasm (so wasi works) 2024-06-30 08:17:34 -04:00
Richard Feldman
2253e849d4
clippy 2024-06-29 23:20:44 -04:00
Richard Feldman
28be4e5ee2
Make some things non-pub that don't need to be pub 2024-06-29 21:17:42 -04:00
Richard Feldman
863c97330d
Use constants for error message strings 2024-06-29 21:15:23 -04:00
Richard Feldman
99eb5bfe1e
Support formatting strings in error macros 2024-06-29 21:09:17 -04:00
Richard Feldman
101621bd5a
Make error_macros be no_std 2024-06-29 20:53:06 -04:00
Luke Boswell
8538a883fa
Merge pull request #6848 from roc-lang/improve-contributing
Update CONTRIBUTING.md
2024-06-29 15:04:59 +10:00
Anton-4
0aa2cefa06
more useful links
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-06-28 14:33:12 +02:00
Kiryl Dziamura
93f45de1e7
Merge pull request #6847 from kdziamura/dbg-desugaring
Desugar arg of dbg statement
2024-06-28 14:17:16 +02:00
Anton-4
2bc78e80f5
link to CONTRIBUTING.md
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-06-28 14:10:41 +02:00
Anton-4
1ac9e588a8
Update CONTRIBUTING.md
- applied UX best practices
- added debugging tips

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-06-28 14:07:11 +02:00
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
4b610169f6
Merge pull request #6843 from sekerez/sekerez/fix-allow-multiple-newlines-between-signature-and-body
fix: allow multiple newlines between signature and body
2024-06-28 10:16:23 +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
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
f8c6786502
Merge pull request #6841 from roc-lang/ayaz/fix-links
Update stale document references
2024-06-26 01:37:27 -05:00
Ayaz Hafiz
8cdb193301
Update stale document references 2024-06-26 02:16:20 -04:00
Luke Boswell
6a074adcf2
Merge pull request #6840 from roc-lang/load-transitive-pkgs
Load packages of packages
2024-06-26 11:38:44 +10: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
Anton-4
7e609bfdbf
Merge pull request #6837 from kdziamura/suffixed_defs
check if final expr in deps is suffixed
2024-06-25 19:58:25 +02: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
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
Anton-4
889a378f96
git clean is no longer necessary
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-06-24 16:13:15 +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
96ac005632
refactor: release script cleanup 2024-06-23 10:49:18 -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
Luke Boswell
794c20956d
Merge pull request #6831 from shua/fixme
rm dead FIXME comment
2024-06-23 12:34:22 +10: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