Commit graph

62 commits

Author SHA1 Message Date
Folkert
ea9b23cda8 start using zig9 as the name for trunk zig 2021-09-06 22:25:35 +02:00
Folkert
2e6bf95fda enable wasm TestBase64 2021-09-04 20:01:06 +02:00
Folkert
aaed62dad3 always pick musl as libc 2021-09-04 13:26:42 +02:00
Folkert
3fbdc743ec link 32-bit x86 on linux 2021-09-04 01:32:12 +02:00
Folkert
98c672bbde pipe target information through 2021-09-01 21:50:59 +02:00
Folkert
815a4f76a7 make more tests run under wasm 2021-08-29 15:18:25 +02:00
Folkert
fdd34a5d3e zig remove explicit libc dep in 32-bit mode 2021-08-29 00:37:28 +02:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Folkert
eb17e8de5d remove c++ linker arguments 2021-08-16 20:36:29 +02:00
Joshua Hoeflich
bb5d2a3322 Cargo fmt 2021-08-07 17:57:50 -05:00
Joshua Hoeflich
77add49ed3 All tests pass on Nix OS 2021-08-07 17:31:31 -05:00
Joshua Hoeflich
f08f8d3882 Workaround missing glibc in nix-shell 2021-08-07 10:26:30 -05:00
Richard Feldman
aa71c19cf3 Clippy 2021-08-01 10:23:16 -04:00
Folkert
7601bcb2fa maybe it's good now? 2021-07-30 20:32:01 +02:00
Folkert
e805e63db6 typos 2021-07-30 16:54:22 +02:00
Folkert
bbc406a759 Revert "tweaks"
This reverts commit 5149adb2c8.
2021-07-30 14:13:35 +02:00
Folkert
5149adb2c8 tweaks 2021-07-27 22:37:08 +02:00
Richard Feldman
845145fc1f Change big_sur_path
I just updated to Big Sur, and that path didn't work for me...
but this updated one does!
2021-07-20 23:55:09 -04:00
Richard Feldman
9fcd339af9 Set link type based on --lib flag 2021-06-08 21:58:21 -04:00
Richard Feldman
b05342c678 Split out an optional "llvm" feature
Also move OptLevel out of roc_gen (which
should really be called gen_llvm) and into roc_mono,
so it's no longer coupled to LLVM.
2021-06-06 00:32:58 -04:00
Jared Ramirez
966bb80cdc Format & rename some Nix stuff; Remove custom .envrc use nix stuff in favor of stdlib 2021-05-31 15:40:26 -07:00
Richard Feldman
7a774ae3cf Link with -framework Security on macOS 2021-04-10 15:52:54 -04:00
Richard Feldman
a8fa1a47f5 Make macOS linking not crash 2021-04-05 21:44:02 -04:00
Richard Feldman
deb48d48f8 Use zig env to find zig compiler_rt 2021-03-14 22:31:32 -04:00
Richard Feldman
58cf08349e Don't check in binaries in examples 2021-03-14 22:31:32 -04:00
Chadtech
7d78de110b Added comptime import compiler_rt to several host.zig files 2021-03-14 22:31:32 -04:00
Richard Feldman
beacdfda31 Don't use --gc-sections on macos 2021-03-14 22:31:32 -04:00
Brendan Hansknecht
7d24d51392 gen_dev: generate and link zig builtins. 2021-02-14 18:15:00 -08:00
Folkert
a79a9ea253 use the compiler's str.zig from platforms 2021-01-31 23:11:02 +01:00
Folkert
db11c62210 ld.lld research 2021-01-15 20:50:23 +01:00
Folkert
725d52f7c6 make exceptions work on linux again 2020-12-21 02:12:30 +01:00
Folkert
4c16a46001 better zig hosts 2020-12-08 20:30:48 +01:00
Folkert
4c2654d4ed Merge remote-tracking branch 'origin/trunk' into task 2020-12-08 14:51:46 +01:00
Folkert
0b0ae7b287 make it work! 2020-12-08 00:15:57 +01:00
Richard Feldman
4a72ae8ed0 Add --libary c when building zig hosts 2020-12-03 23:37:36 -05:00
Richard Feldman
f79614e769 Allow zig hosts 2020-12-01 22:07:11 -05:00
Richard Feldman
017b53ce23 Clean up c_host.o renaming logic 2020-12-01 22:07:11 -05:00
Brendan Hansknecht
4d0363456a Pick correct version of architecture name 2020-11-25 22:45:32 -08:00
Brendan Hansknecht
8a5d45a8a4 Autoformat link.rs 2020-11-25 21:32:40 -08:00
Brendan Hansknecht
81c0050683 Fix linking on Aarch64 with nix 2020-11-26 03:06:10 +00:00
Richard Feldman
bc48f72760 Merge remote-tracking branch 'origin/trunk' into cstr 2020-11-22 22:29:34 -05:00
rvcas
679bef1f9d fix(link): use a more generic macos sdk path for ld 2020-11-15 13:13:06 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Richard Feldman
84fe87a756 Panic if rebuilding host fails 2020-11-03 21:54:53 -05:00
Richard Feldman
80411473ae clippy clip 2020-10-25 01:56:55 -04:00
Richard Feldman
3d7a265c5f Load a dynamic library in the repl 2020-10-25 01:42:10 -04:00
Richard Feldman
14c8a00f9d Don't link Scrti.o when doing dynamic linking 2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67 Get a basic dylib linking started 2020-10-25 01:41:55 -04:00