Commit graph

85 commits

Author SHA1 Message Date
Richard Feldman
696a8273ee
Merge pull request #1742 from rtfeldman/test-linker
Test linker
2021-10-03 23:26:15 -04:00
Folkert
f1ec5c30d0 make things compile 2021-10-01 20:33:34 +02:00
Brendan Hansknecht
d9e28ed4b1 Merge branch 'trunk' into test-linker 2021-09-25 12:21:05 -07:00
Brendan Hansknecht
e6c137889a Just disable gc-sections with surgical linker for rust hosts for now 2021-09-25 12:19:56 -07:00
Brendan Hansknecht
411ed58eec Fix rust host with surgical linking 2021-09-24 21:37:58 -07:00
Brendan Hansknecht
e546ec0c37 Add builtins to precompiled host 2021-09-24 08:31:31 -07:00
Brendan Hansknecht
a593713800 Fix surgical linking for C hosts with extra arg 2021-09-23 21:29:53 -07:00
Folkert de Vries
e1bdb953bb
Merge branch 'trunk' into integrate-linker 2021-09-20 22:51:24 +02:00
Anton-4
b0f590f09e
Improve cannot find str.zig error 2021-09-20 09:11:31 +02:00
Brendan Hansknecht
66a7a3aa07 Make clippy happy again 2021-09-16 22:34:55 -07:00
Brendan Hansknecht
b1e02315d0 Strip debug info from zig 2021-09-15 12:28:19 -07:00
Brendan Hansknecht
da28b669bb Get zig host working 2021-09-15 11:45:44 -07:00
Brendan Hansknecht
e96291e9a7 Enable rebuilding hosts into a dynamic executable 2021-09-14 21:59:15 -07:00
Brendan Hansknecht
7297e969bd Fix cargo debug build 2021-09-14 17:30:26 -07:00
Brendan Hansknecht
0ef9498a69 Rebuild hosts in a separate thread and only optimize when specified 2021-09-14 14:46:03 -07:00
Brendan Hansknecht
1d23f4c0d2 Merge branch 'trunk' into linker 2021-09-11 22:55:07 -07:00
Folkert
c2165ec0a4 bundle wasi-libc.a 2021-09-10 10:13:16 +02:00
Brendan Hansknecht
1caa92b173
Merge branch 'trunk' into linker 2021-09-08 20:20:18 -07:00
Brendan Hansknecht
7408c152b7 Merge branch 'trunk' into linker 2021-09-08 15:52:51 -07:00
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
Brendan Hansknecht
56dc278fae Merge branch 'trunk' into linker 2021-09-03 19:57:32 -07: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
Brendan Hansknecht
c1cae950e7 Fix linking with PIC 2021-08-28 15:24:02 -07:00
Brendan Hansknecht
c7f5793d2a Merge branch 'trunk' into linker 2021-08-28 15:15:17 -07:00
Brendan Hansknecht
379904fcc5 Make debug output and linking properly pic/pie. Remove non-pic relocation from linker 2021-08-27 23:21:48 -07: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