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
Brendan Hansknecht
40a40ef6d2
get examples working
2023-10-23 13:50:31 -07:00
Richard Feldman
ebd1b16597
Choose CodeModel using roc target, not Rust target
2023-10-10 20:33:27 -04:00
Richard Feldman
1d5c5b25ec
Merge remote-tracking branch 'origin/main' into linux64
2023-07-11 11:33:31 -04:00
Anton-4
b92bc4922e
segfault codemodel workaround
2023-07-11 16:18:22 +02:00
Anton-4
03af6749ed
fmt
2023-07-05 19:39:20 +02:00
Anton-4
781fba8f73
aarch64 linux error fix
...
This fixes the error relocation R_AARCH64_MOVW_UABS_G0_NC cannot be used against local symbol
2023-07-05 19:34:00 +02:00
Brendan Hansknecht
4f97ab2965
remove old compiler-rt workarounds for macos
2023-06-24 17:27:11 -07:00
Richard Feldman
b8d723edcb
Don't use CodeModel::Large anymore
...
This breaks certain use cases of building with --no-link
and an aarch64 target and then linking with lld (via zig cc)
(see "aarch64 linux target" thread on Zulip)
Also it seems to be unnecessary in practice on LLVM 13,
as the comment suggests!
2023-06-21 10:46:52 -04:00
Luca Cervello
c39103d6d0
chore: replace panic! with internal_error!
2022-10-11 11:52:08 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00