Commit graph

362 commits

Author SHA1 Message Date
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
Anton-4
0fea1ec227
Merge pull request #5734 from roc-lang/fix-nixos-repl
fix `Couldn't find libgcc_s.so.1!`
2023-08-11 20:03:09 +02:00
Folkert
7fb4b60b21
move around hostexposedalias logic 2023-08-09 15:09:03 +02:00
Anton-4
cb9a348871
cleanup 2023-08-08 20:09:15 +02:00
Anton-4
ec3bcb33f6
fmt, clippy, nix aliases fix 2023-08-08 20:03:21 +02:00
Anton-4
387b6927d5
libgcc_s.so.1 fix #5732 2023-08-08 19:55:38 +02:00
Richard Feldman
57fc441bf9
Fix macos ld warning 2023-07-29 21:06:04 -04:00
Anton-4
f2137c90ab
upgrade to rust 1.70.0 2023-07-25 17:44:46 +02:00
Ayaz Hafiz
b5db3f68e1
Add experimental flag for roc_erase 2023-07-12 14:46:37 -05:00
Ayaz Hafiz
9702f30a61
Support erased functions in debug mode 2023-07-12 14:46:37 -05:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Richard Feldman
1d5c5b25ec
Merge remote-tracking branch 'origin/main' into linux64 2023-07-11 11:33:31 -04:00
Richard Feldman
19fc7775c7
Merge pull request #5644 from roc-lang/aarch64-code-model-fix
aarch64 linux error fix
2023-07-11 11:22:57 -04:00
Anton-4
b92bc4922e
segfault codemodel workaround 2023-07-11 16:18:22 +02:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Anton-4
72c85efc83
switch to rust 1.67 2023-07-10 18:25:52 +02:00
Anton-4
03af6749ed
fmt 2023-07-05 19:39:20 +02:00