Commit graph

278 commits

Author SHA1 Message Date
Anton-4
a7b843743d
upgrade to rust 1.76.0 2024-04-15 19:20:07 +02:00
Anton-4
4d9202ec6e
upgrade to rust 1.75.0 2024-04-15 16:29:23 +02:00
Anton-4
46daccef62
rust 1.73.0 -> 1.74.1 2024-04-12 17:16:09 +02:00
Anton-4
83904ec62b
Merge pull request #6591 from FabHof/dec-float-decoding-builtins
Add builtins for dec and float
2024-04-08 13:24:31 +02:00
Anton-4
e6e708360c
1.72.1->1.73.0 2024-04-06 15:38:14 +02:00
Anton-4
bb38721eaf
zig host target native->x86_64-native 2024-04-06 13:51:53 +02:00
Oskar Hahn
62e30fd7d0
Call cargo fmt --all 2024-04-01 12:52:56 +02:00
Oskar Hahn
aec618d5fc
Remove the .1 version libapp.so and the fileextension .1.0 2024-04-01 12:41:09 +02:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Anton-4
0486da933f
use println for clippy
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-03-09 16:26:52 +01:00
Hristo Georgiev
ee819cb7d1
Add newline after "Failed with error" msg 2024-03-09 12:54:08 +00:00
Richard Feldman
c217456f05
Merge pull request #6558 from jschear/js/move_cli_testing_examples
Move cli_testing_examples under crates/cli/tests
2024-03-08 09:43:59 -05:00
Anton-4
ce606916a3
emit-ir and style improvement 2024-03-06 17:15:34 +01:00
Jonathan Schear
ae6516d54f
Remove remaining usages of cli_testing_examples folder 2024-03-06 09:58:11 -05:00
Anton-4
d232a843e4
Merge pull request #6543 from roc-lang/minor-linking-cleanup
link_linux code style improvements
2024-03-05 16:31:49 +01:00
Anton-4
f620508a37
misc improvements 2024-03-04 17:10:59 +01:00
Anton-4
9e05d21b3f
less verbose build debugging 2024-02-28 13:50:48 +01:00
Anton-4
bb0df1ef0a
link_linux cleanup 2024-02-28 12:33:34 +01:00
Oskar Hahn
06ab08003f
Export all symbols on wasm builds 2024-02-26 15:40:58 +01:00
Brian Carroll
a9a1ae1511
Get rid of dead code warning 2024-02-06 08:17:31 +00:00
Brian Carroll
0f19ecbb86
Handle env vars in debug printing 2024-02-06 08:04:00 +00:00
Brian Carroll
26fdbaf4cd
Create a debug flag for build commands 2024-02-06 07:54:55 +00:00
Folkert
41ad915c35
make an inline expect triggered by a top-level expect work 2024-02-01 13:08:01 +01:00
Brendan Hansknecht
689a930082
Merge remote-tracking branch 'origin/main' into rust-1-72-upgrade 2024-01-27 08:07:48 -08:00
Brendan Hansknecht
bdbbfb36d1
add ROC_LINK_FLAGS support to linux 2024-01-26 20:55:16 -08:00
On vacation
4ee3431428
Merge branch 'main' into rust-1-72-upgrade 2024-01-26 13:39:34 +01:00
Brendan Hansknecht
abc4fd18cc
add --fuzz option to roc 2024-01-25 15:42:18 -08:00
Brendan Hansknecht
260b94b36d
Merge branch 'main' into rust-1-72-upgrade 2024-01-17 14:36:16 -08:00
Brendan Hansknecht
607d2d6adc
stop overwritting manually set file extensions 2024-01-06 09:10:23 -08:00
Anton-4
26f0448a94
rust 1.71.1 -> 1.72.1 2023-12-27 17:27:03 +01:00
Brendan Hansknecht
dbcb6ca5da
clippy 2023-12-04 13:53:56 -08:00
Brendan Hansknecht
fc09c3b002
remove debugir 2023-12-04 13:50:53 -08:00
Brendan Hansknecht
da301df37b
separate emitting debug info from emitting llvm-ir 2023-12-04 13:13:30 -08:00
Brendan Hansknecht
496cd6710a
fix debug info and add it all to the llvm backend 2023-12-04 12:55:33 -08:00
Brendan Hansknecht
e6f5ac5d2a
typo and clippy 2023-11-06 21:04:50 -08:00
Brendan Hansknecht
23c2b15115
also add static lib support with fallback to object file 2023-11-06 21:04:50 -08:00
Brendan Hansknecht
1085be396e
add fallback to legacy host if preprocessed host is missing from prebuilt platform 2023-11-06 21:04:50 -08:00
Brendan Hansknecht
e099dd8b1c
Check lib64 before lib when linking
Depending on the linux distro, lib will contain 32bit libraries.
We want the 64bit version of libraries if they exist.
2023-10-29 21:43:15 -07:00
Brendan Hansknecht
6b191fcfc2
stop zig from automatically stripping with opt-size 2023-10-23 13:50:35 -07:00
Anton-4
90865c6b51
cleanup CI, fix unrecognized --strip 2023-10-23 13:50:34 -07:00
Luke Boswell
4f3ed13929
fix windows linking remove --strip option 2023-10-23 13:50:32 -07:00
Brendan Hansknecht
40a40ef6d2
get examples working 2023-10-23 13:50:31 -07:00
Richard Feldman
7b83dd6ef9
Fix some UTF-16 on Windows 2023-10-19 22:49:55 -04:00
Richard Feldman
eebec8a378
Add --output to build, default to app filename 2023-10-19 20:42:28 -04:00
Richard Feldman
eb135637ef
Compute total_problems rather than asking for it 2023-10-14 21:49:06 -04:00
Richard Feldman
ebd1b16597
Choose CodeModel using roc target, not Rust target 2023-10-10 20:33:27 -04:00
Anton-4
d7a27acfd7
prevent+improve repl erros 2023-09-30 20:34:33 +02:00
Anton-4
cb13fc6092
Merge pull request #5857 from roc-lang/rust-1-71-1-upgrade
rust 1.71.1 upgrade
2023-09-26 17:27:08 +02:00
Anton-4
f078204c1f
rust 1.71.1 upgrade 2023-09-26 12:08:16 +02:00
Brendan Hansknecht
d0e1da40ac
Allow rust binaries to remove dead code
Note: we may need to add a special init function to stop linker based dead code elimination.
That or special linker commands to keep `roc_*` functions.
Currently this is working on my x86 machine without it though.

Guide here if needed on the init function:
https://stackoverflow.com/questions/43712979/how-to-export-a-symbol-from-a-rust-executable
2023-09-25 10:23:00 -07:00