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
Folkert de Vries
fa721d9b29
Merge pull request #5600 from roc-lang/compiler-rt-cleanup
...
Compiler-rt cleanup macos
2023-06-27 21:12:55 +02:00
Folkert
8738c95d6f
give 0
as a value to our enum attributes
2023-06-27 00:07:33 +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
Richard Feldman
eea43daeb6
Revert "Improve backwards compatibility with old .rh files"
...
This reverts commit f6a6bff728
.
2023-06-20 09:23:08 -04:00
Richard Feldman
f6a6bff728
Improve backwards compatibility with old .rh files
2023-06-20 09:09:38 -04:00
Ayaz Hafiz
41597cbab7
Do not make LayoutInterner mutable
2023-06-17 18:13:03 -05:00
Ayaz Hafiz
e2482c8b1d
Unused var
2023-06-06 15:48:01 -05:00
Ayaz Hafiz
6702efaf29
Differentiate generating final IR and dumping it to an object in cgen
...
So that we can see how much time it takes to build LLVM IR vs run it
through LLVM. For the dev backends this is immaterial
2023-06-03 17:54:09 -05:00
David Smith
1aa45240fd
Update --prebuilt-platform usage in comments and error messages.
2023-05-15 12:53:58 -04:00
Richard Feldman
b42da4ae8d
Revert "remove undefined -dynamic_lookup"
...
This reverts commit bd6ae25cbc
.
2023-05-08 15:46:53 -04:00
Folkert de Vries
deb1e9952d
Merge pull request #5365 from roc-lang/dev-backend-cli
...
Dev backend list tests
2023-05-07 14:47:39 +02:00
Jarl André Hübenthal
e5eb5717ea
replace panic! with internal_error! in compiler modules
2023-05-03 22:11:21 +02:00
Folkert
37eec2b7c2
allow configure of whether roc_alloc is generated
2023-05-02 22:31:49 +02:00
Folkert
66be08d073
allow configure of whether roc_alloc is generated
2023-05-01 18:41:47 +02:00
Brendan Hansknecht
e520eaddcc
Merge pull request #5333 from roc-lang/wasm-flow
...
Fix misc wasm compilation issues
2023-04-29 20:43:58 +00:00
Anton-4
ff6ec21a09
Merge pull request #5324 from roc-lang/rust_version_upgrade
...
WIP Rust version upgrade
2023-04-29 18:01:04 +02:00
Anton-4
85dce119c7
downgrade to 1.66.1
...
going from 1.66.1 to 1.67.1 causes a segemntation fault in a wasm test, I expect because the size of Stmt and Expr have changed with that version.
2023-04-26 20:07:46 +02:00
Brendan Hansknecht
44a1b5d41f
fix warning when linking
2023-04-26 08:24:35 -07:00
Brendan Hansknecht
b26fc9f1af
make wasm32-wasi default target given zig bug is fixed
2023-04-26 07:43:12 -07:00
Brendan Hansknecht
dd8914a75c
corret CodeGenBackend::Wasm to only be dev wasm backend
2023-04-26 07:29:32 -07:00
Brendan Hansknecht
0f4df1f677
clippy
2023-04-25 14:22:13 -07:00
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig
2023-04-25 14:14:35 -07:00
Brendan Hansknecht
e2868fa5fc
add missing import for windows
2023-04-25 09:00:56 -07:00
Brendan Hansknecht
f9f7a1a3e8
fix typo
2023-04-25 08:39:31 -07:00
Brendan Hansknecht
fbcea3f3f5
update number of relative paths to deal with tests
2023-04-25 08:32:12 -07:00
Brendan Hansknecht
d47c4616f2
switch checking for str.zig to be relative to the exectuable
2023-04-25 07:39:19 -07:00
Anton-4
937722c462
Merge branch 'main' of github.com:roc-lang/roc into rust_version_upgrade
2023-04-22 17:14:01 +02:00
Anton-4
e784baccce
rust update, nix update, clippy fixes
2023-04-22 14:51:01 +02:00
Folkert
7af408f58d
split cmd args
2023-04-21 12:10:23 +02:00
Folkert
4cd8f0a056
clippy --fix fixes
2023-04-21 12:05:51 +02:00
Anton-4
bd6ae25cbc
remove undefined -dynamic_lookup
...
350845837
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 19:41:01 +02:00
Anton-4
5f2d550c3d
fmt
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 17:58:11 +02:00
Anton-4
a99aba7da4
try leaving out no_fixup_chains ld arg
...
350816436
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 17:52:34 +02:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue
2023-03-29 19:43:59 +02:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue
2023-03-21 11:07:47 -07:00
Anton-4
8da9af94f2
use latest basic-cli, better error messages
2023-03-20 20:06:36 +01:00
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-14 01:01:26 +01:00
Brendan Hansknecht
cb191d3788
Split utils into error and command utils
...
Error utils pulls in snafu which requires procedural macros.
This means it can't start compiling until syn and macro related crates are compiled.
This deals compiling all crates that depend on commands like running zig for the bitcode.
The split enables those crates to run sooner.
2023-03-10 09:39:43 -08:00
Brendan Hansknecht
d5e191d083
split up bitcode building to reduce dependency chains
2023-03-10 09:39:43 -08:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-08 19:46:00 +01:00
Folkert
938f7172dd
restore creation of the libapp.o file
2023-03-08 19:43:34 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit
2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded
2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec
2023-03-06 16:36:18 -08:00
Brendan Hansknecht
21af20597e
remove unused dependencies
2023-03-06 12:09:00 -08:00
Brendan Hansknecht
5573ab2275
Merge branch 'glue-getters-rtfeldman' into pluggable-glue
2023-03-05 17:11:25 -08:00
Brendan Hansknecht
17ece67999
get roc glue working directly with .roc
plugin files
2023-03-05 12:33:46 -08:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-05 17:24:05 +01:00