Commit graph

9516 commits

Author SHA1 Message Date
Luke Boswell
43f0ba784b
Merge remote-tracking branch 'remote/upgrade-llvm-zig' into upgrade-llvm-zig 2024-11-29 10:09:02 +11:00
Luke Boswell
b7c226212c
remove stray comment 2024-11-29 10:06:18 +11:00
Luke Boswell
f8a0207d53
add description for copy_zig_glue crate 2024-11-29 10:02:42 +11:00
Luke Boswell
0523a0a539
restore Cargo.toml using workspace deps 2024-11-29 09:57:01 +11:00
Luke Boswell
7d4026bd00
fix benchmark-dec, remove callWrapper 2024-11-29 09:32:12 +11:00
Luke Boswell
2feb5d3c2e
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-11-29 08:58:47 +11:00
Sam Mohr
46067cf28c
Merge pull request #7255 from JRI98/fix_dec_zero_div_zero
Fix division of zero by zero for Dec
2024-11-28 15:06:18 -05:00
Agus Zubiaga
c4fcd0dcd0
Merge pull request #7254 from roc-lang/allow-suffixed-host-exposed-pure 2024-11-27 21:59:56 -03:00
Luke Boswell
b178b41c50
Merge pull request #7248 from shua/rmdeps
rm unused dependencies
2024-11-28 11:26:41 +11:00
JRI98
61ca278e31
Fix division of zero by zero for Dec 2024-11-27 23:38:21 +00:00
Agus Zubiaga
2e7e67019f
Add doc comment to SolveConfig.host_exposed_symbols 2024-11-27 14:15:08 -03:00
Agus Zubiaga
6ffc8a507b
Allow suffixed pure functions that are exposed to the host 2024-11-27 14:06:37 -03:00
Agus Zubiaga
1dc9dd0a90
Merge branch 'main' into specialize-exprs 2024-11-27 11:35:14 -03:00
Joshua Warner
0295bb58da
Merge pull request #7245 from joshuawarner32/dbg-expr-only
Make dbg always be parsed as an expression
2024-11-26 17:41:28 -08:00
Agus Zubiaga
568525ad7e
Allow panics in test_compile since it's only used in tests 2024-11-26 22:00:45 -03:00
Luke Boswell
171ddde998
restore fuzzer 2024-11-27 11:25:14 +11:00
shua
2649716e4a
PR: old code not fmt'd 2024-11-27 00:42:56 +01:00
shua
fc10883c47
PR: add libfuzzer-sys back, test_syntax-fuzz to ws 2024-11-26 23:05:23 +01: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
Brendan Hansknecht
e40b3cd6a9
Merge pull request #7235 from shua/devneg
impl Num.neg for Dec,F32,F64 in repl
2024-11-26 13:29:19 -08:00
Agus Zubiaga
29b4ca0340
Add TODO to use interner 2024-11-25 19:54:43 -03:00
Agus Zubiaga
11f37eeb59
Add missing thrid item to soa_slice3 iter 2024-11-25 19:53:34 -03:00
Agus Zubiaga
4dd61e5c3c
Remove inaccurate comment 2024-11-25 19:50:02 -03:00
Agus Zubiaga
6e5f9eb510
Ignore whitespace-only lines in test_compile deindent 2024-11-25 19:46:19 -03:00
Agus Zubiaga
c31b457428
Remove unnecessary soa_index Id type alias 2024-11-25 19:35:26 -03:00
Agus Zubiaga
01892dcf20
Rename into_nonempty_slice to as_nonempty_slice 2024-11-25 19:33:27 -03:00
Agus Zubiaga
0a98580277
Use "opaques" instead of "opaque types" in reporting 2024-11-25 19:32:08 -03:00
Agus Zubiaga
f8e70f8786
Replace unwrap with debug_panic! 2024-11-25 19:26:49 -03:00
Agus Zubiaga
b781b966a2
Remove test_compile dep on test_solve_helpers 2024-11-25 19:11:22 -03:00
Agus Zubiaga
b50b79fbe2
Fix formatting in mono_type 2024-11-25 19:01:45 -03:00
Joshua Warner
b4fdb0a4c2
Make dbg parse strictly as an Apply
This is important in order to fix some formatting bugs found in fuzzing
2024-11-24 14:15:29 -08:00
shua
a98acff0b9
gen-dev: impl Num.neg for Dec,F32,F64
Dec negation was implemented across gen-dev, gen-llvm, gen-wasm as a call
to the compiled zig function `bitcode::DEC_NEGATE`.

f32 and f64 negation were implemented already for gen-llvm, gen-wasm.

for gen-dev x86_64, float negation is implemented by flipping the sign
bit, which means `xorps` for f32, and `xorpd` for f64

for gen-dev aarch64, there is conveniently a `fneg` instruction
2024-11-23 19:17:55 +01:00
Agus Zubiaga
5370a27370
Use debug_assert! insetead of expect 2024-11-23 11:17:12 -03:00
Agus Zubiaga
5d6c47b25f
Update test_syntax snapshot after new Slice debug impl 2024-11-23 11:05:09 -03:00
Agus Zubiaga
5384b96979
Remove unnecessary test_compile dep in solve 2024-11-23 11:03:44 -03:00
Agus Zubiaga
13fc87a52a
Remove test_solve_expr since it can't work without load 2024-11-23 10:32:48 -03:00
Agus Zubiaga
def52edad5
Fix "parameter" typo 2024-11-23 03:15:35 -03:00
Agus Zubiaga
2974dcbc18
Fix warnings in specialize_types 2024-11-23 02:20:47 -03:00
Agus Zubiaga
2e96aca0fd
Merge branch 'main' into specialize-exprs 2024-11-23 01:48:51 -03:00
Sam Mohr
c5b2e160ca
Ignore switch stmt ret_layout 2024-11-21 09:52:38 -08:00
Sam Mohr
899a7d3308
Add reporting tests for annotated functions with early returns 2024-11-21 04:38:58 -08:00
Sam Mohr
f857872903
Properly type constrain all function types 2024-11-21 04:09:47 -08:00
Sam Mohr
20ba4a92de
Merge branch 'main' into constrain-early-return-functions 2024-11-21 02:45:14 -08:00
Luke Boswell
34f5b61c3b
restore --no-link build pipeline 2024-11-21 16:20:05 +11:00
Anton-4
d123d0f256
back to old architecture display
arm64 causes issues on raspberry pi

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-11-20 20:04:25 +01:00
Anton-4
e5037af47a
Merge branch 'main' of github.com:roc-lang/roc into upgrade-llvm-zig 2024-11-19 18:28:53 +01:00
Anton-4
7c951c7057
remove unneeded copy_zig_glue 2024-11-19 18:28:12 +01:00
Anton-4
28b3e9f221
Merge pull request #7220 from svcxc/multilingual-testing
Glue tests are no longer hard-coded to Rust
2024-11-19 13:41:39 +01:00
Anton-4
5ac7b193a9
Merge pull request #7229 from JRI98/remove_unused_ast_expr_expect
Remove unused ast::Expr::Expect
2024-11-19 13:32:45 +01:00
Anton-4
b849cdc7eb
Merge pull request #7230 from roc-lang/fix-nightly-many-os-tests
nightly tests fixes
2024-11-19 13:31:08 +01:00