Commit graph

7611 commits

Author SHA1 Message Date
Folkert
8b5269a66c
update mono tests 2024-01-20 22:31:54 +01:00
Folkert
f1ffc36efe
add List.clone 2024-01-20 20:29:07 +01:00
Folkert
351c9215fe
dev backend: f32 abs 2024-01-19 15:16:32 +01:00
William Barbosa
3882262b70 Fix remaining test cases 2024-01-18 08:15:02 +01:00
William Barbosa
f7fac0daba Add a test for trimmed paths 2024-01-18 08:15:02 +01:00
William Barbosa
ad3673bfe9 Improve filename visibility in error messages 2024-01-18 08:15:02 +01:00
Brendan Hansknecht
f9c0d54688
Stop using "rlib"
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
I don't think this will fix anything, but I am half hopeful it will somehow fix #6121.
2024-01-16 22:36:10 -08:00
Richard Feldman
ae0e3593a4
Merge pull request #6311 from roc-lang/fix_benchmarks
Fix benchmarks failing silently
2024-01-15 14:00:57 -05:00
Isaac Van Doren
eec6d79248
exit code 2 for warnings 2024-01-14 19:53:55 -06:00
Isaac Van Doren
3d0661db0c
Revert "add ignore-warnings flag to roc build"
This reverts commit 1c85b823c1.
2024-01-14 19:51:58 -06:00
Isaac Van Doren
acb2cfdd40
Revert "add flag to roc check"
This reverts commit 5d74cd61ec.
2024-01-14 19:51:37 -06:00
Isaac Van Doren
5d74cd61ec
add flag to roc check 2024-01-14 16:00:11 -06:00
Isaac Van Doren
1c85b823c1
add ignore-warnings flag to roc build 2024-01-14 15:39:10 -06:00
Richard Feldman
443b3c8851
Fix single-quote dollar parsing 2024-01-13 15:41:35 -05:00
Anton-4
6a6345eb01
Merge branch 'main' of github.com:roc-lang/roc into fix_benchmarks 2024-01-13 19:47:20 +01:00
Anton-4
79ed84fff3
Merge pull request #6355 from B-Teague/merge-gitignore
Consolidate gitignore
2024-01-12 13:29:32 +01:00
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Luke Boswell
6bdcc4743a
Merge pull request #6363 from roc-lang/windows-llvm-setjmp-longjmp
fix for bugged setjmp/longjmp on windows/llvm
2024-01-09 22:00:15 +11:00
Brendan Hansknecht
3559326996
Set debug info version
We just missed setting it. Set it as specified in the docs: https://thedan64.github.io/inkwell/inkwell/debug_info/index.html#setting-up-the-module-for-holding-debug-info
Not sure why it is 3, but that is the value in the llvm tutorial as well: https://llvm.org/docs/SourceLevelDebugging.html

Fixes #6367
2024-01-08 20:28:42 -08:00
Luke Boswell
6b77aa93d5
force windows_setjmp & windows_longjmp 2024-01-08 12:31:09 +11:00
Folkert
b9b19d6054
fix for bugged setjmp/longjmp on windows/llvm 2024-01-07 23:04:11 +01:00
Richard Feldman
ff2704056e
Fix some tests 2024-01-07 00:00:37 -05:00
Richard Feldman
af8e9c7292
Parse deprecated interpolation syntax differently 2024-01-06 21:49:00 -05:00
Folkert de Vries
08ab7996a0
Merge pull request #6357 from roc-lang/dollar
Add support for $(...) string interpolation syntax
2024-01-06 22:20:19 +01:00
Richard Feldman
163bde0c41
Update tests to use $(...) interpolation 2024-01-06 15:06:30 -05:00
Richard Feldman
25be487977
Add $(...) string interpolation syntax 2024-01-06 15:04:22 -05:00
Anton-4
da741cf8d8
Merge pull request #6359 from roc-lang/output-extension
stop overwritting manually set file extensions
2024-01-06 19:51:41 +01:00
Brendan Hansknecht
2466e2eb3b
Merge pull request #6356 from roc-lang/box-rc
Fix RC for unions with non-refcounted fields
2024-01-06 10:45:30 -08:00
Folkert de Vries
b5f2ac2b6d
Merge pull request #6358 from roc-lang/float-checked-llvm
32-bit float checked float operations assumed f64
2024-01-06 18:32:34 +01:00
Brendan Hansknecht
607d2d6adc
stop overwritting manually set file extensions 2024-01-06 09:10:23 -08:00
Brendan Hansknecht
a2fcf76164
make sure that union refcounting branches to the decrement block 2024-01-06 08:34:46 -08:00
Brendan Hansknecht
ce6e0bec9f
add memory leak valgrind test for freeing boxes 2024-01-06 08:17:45 -08:00
Folkert de Vries
deb8782b65
Merge pull request #6339 from roc-lang/dev-num-tests
Dev num tests
2024-01-06 17:11:21 +01:00
Folkert
9c94930d6a
32-bit float checked float operations assumed f64 2024-01-06 16:05:01 +01:00
Folkert
f3abb3b466
add instructions to the right block 2024-01-06 15:52:53 +01:00
Brendan Hansknecht
88bac5eba7
ensure unions get freed even if they have no RC fields (hit when using box) 2024-01-05 22:20:58 -08:00
Isaac Van Doren
7d3df10921
format and clippy 2024-01-04 21:18:28 -06:00
Isaac Van Doren
190c88e886
report shadowing error messages last 2024-01-03 22:20:35 -06:00
Richard Feldman
b1f7316fce
Merge pull request #6337 from roc-lang/dev-mul-with-panic
implement panic on overflow for mul in the dev backend
2024-01-02 16:49:58 -05:00
Folkert
05c8521211
clippy 2024-01-02 22:39:59 +01:00
Folkert
33dfd5d27d
cleanup 2024-01-02 22:28:57 +01:00
Folkert
7a365eb88f
enable even more dev-backend num tests 2024-01-02 22:23:47 +01:00
Folkert
b7a41bcb3e
enable many more dev-backend num tests 2024-01-02 21:30:49 +01:00
Folkert
6c521555ea
decimal division in dev backend 2024-01-02 19:53:13 +01:00
Folkert
4bcd195b92
implement NumSub (that panics) in the dev backend 2024-01-02 19:47:17 +01:00
dhzdhd
49c28409e0 Update ProgressReporter to display file size in KB 2024-01-02 19:09:55 +01:00
Folkert
cfdfbe18a4
implement panic on overflow for mul in the dev backend 2024-01-02 15:56:28 +01:00
Ayaz
865eff1956
Merge pull request #6331 from roc-lang/clippy-unnecessary-hashes
fix clippy (1.72.1) unnecessary hashes
2024-01-01 11:26:07 -06:00
Anton-4
5f1c383aa0
fmt 2024-01-01 17:11:46 +01:00
Anton-4
1126f85b5a
fix clippy unnecessary hashes 2024-01-01 16:38:36 +01:00