Commit graph

59 commits

Author SHA1 Message Date
SylvanSign
5aa2a1eae6
fix linker c_char mismatched types build error 2022-03-27 12:00:51 -04:00
Richard Feldman
d91df42147
Merge pull request #2610 from rtfeldman/windows_fixes
`cargo build` on windows
2022-03-02 18:20:06 -05:00
Folkert
d9851b5e68
fix formatting issues 2022-03-02 21:39:30 +01:00
Anton-4
35b0715364 hopefully last fmt 2022-03-01 16:52:00 +01:00
Anton-4
5f865a4a0c fmt 2022-02-28 18:18:41 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors 2022-02-28 13:48:11 +01:00
Folkert
73bc50c952 make the surgical linker aware of custom exported closure names 2022-01-25 00:13:22 +01:00
Anton-4
6e23919811 put mcpu in comments 2021-11-15 13:43:19 +01:00
Anton-4
030a504bd2 valgrind flag 2021-11-13 14:39:15 +01:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Matthias Beyer
26ceda4aa4 Fix: Replace deprecated Arg::help() call with Arg::about()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 18:14:27 +02:00
Brendan Hansknecht
d4c32df97d Sate clippy and fix accidental garbage file 2021-09-24 22:01:51 -07:00
Brendan Hansknecht
411ed58eec Fix rust host with surgical linking 2021-09-24 21:37:58 -07:00
Brendan Hansknecht
eae8a2ea37 Add surgical linker to cli_run tests that don't use rust 2021-09-24 13:43:00 -07:00
Brendan Hansknecht
874ef7a590 Move copying precompiled host to rebuild thread 2021-09-18 17:54:02 -07:00
Brendan Hansknecht
66a7a3aa07 Make clippy happy again 2021-09-16 22:34:55 -07:00
Brendan Hansknecht
b56606c5ac Add comment explaining rust host failure 2021-09-15 15:38:40 -07:00
Brendan Hansknecht
e4b3402369 Create dummy lib as libapp.so 2021-09-15 15:16:39 -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
e8e7f9cad8 Add executable file permissions 2021-09-15 08:58:23 -07:00
Brendan Hansknecht
e2411ea83f Add surgical linking to frontend with simple dummy lib creation 2021-09-14 23:06:22 -07:00
Brendan Hansknecht
e96291e9a7 Enable rebuilding hosts into a dynamic executable 2021-09-14 21:59:15 -07:00
Brendan Hansknecht
0ef9498a69 Rebuild hosts in a separate thread and only optimize when specified 2021-09-14 14:46:03 -07:00
Folkert
de959d3ad3 recurse on lambda set in wasm backend 2021-09-14 13:30:19 +02:00
Brendan Hansknecht
7df5af246e Update nested if to better structure 2021-09-11 22:54:05 -07:00
Brendan Hansknecht
f6ca8048da
Apply suggestions from code review
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2021-09-11 22:44:39 -07:00
Brendan Hansknecht
b61ca970a6 Add explicit read only data and executable data segment 2021-09-01 16:55:36 -07:00
Brendan Hansknecht
029daab497 Make clippy happy again 2021-08-28 22:57:34 -07:00
Brendan Hansknecht
ba61290a0f Revamp symbol lookup and section locations 2021-08-28 22:55:25 -07:00
Brendan Hansknecht
566eb955be Add comment about why some roc apps are currently broken 2021-08-28 15:12:58 -07:00
Brendan Hansknecht
d9b0f38ff7 Fix issue with offsets and update some printing 2021-08-28 14:57:52 -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
Brendan Hansknecht
7d34c88e64 Minor cleanup and update to parameters 2021-08-27 22:47:43 -07:00
Brendan Hansknecht
7e1f5c47e4 Fix clippy warnings 2021-08-27 18:44:21 -07:00
Brendan Hansknecht
428b77c568 Remove need to process shared library and remove some unneeded metadata 2021-08-27 18:06:41 -07:00
Brendan Hansknecht
79bd82d51e Fix type mismatch 2021-08-27 09:45:38 -07:00
Brendan Hansknecht
a188720a16 Update GOT relocations 2021-08-26 21:20:52 -07:00
Brendan Hansknecht
f0f37bfe03 Switch to PIC based linking 2021-08-25 22:46:15 -07:00
Brendan Hansknecht
1561fa1f7b Add some extra comments/TODOs 2021-08-24 22:47:05 -07:00
Brendan Hansknecht
e9ddde0e90 Add timing flag and clean up printing 2021-08-22 18:05:28 -07:00
Brendan Hansknecht
4922962576 Add basic support for roc_* functions 2021-08-22 17:59:19 -07:00
Brendan Hansknecht
e83c7d5757 Move some platform changes to preprocessing 2021-08-22 00:55:38 -07:00
Brendan Hansknecht
807a320831 Get to minimum viable linker 2021-08-21 23:29:03 -07:00
Brendan Hansknecht
f5ff042ab6 Add basic surgeries 2021-08-21 22:47:51 -07:00
Brendan Hansknecht
9a96bd779f Add new sections and segments 2021-08-21 20:22:05 -07:00
Brendan Hansknecht
794dd7b615 Take advantage of padding in order to avoid alignment issues 2021-08-21 18:04:47 -07:00
Brendan Hansknecht
fd9b0888bc Add symbol table address modification and debug symbols 2021-08-21 16:48:47 -07:00
Brendan Hansknecht
b0c3aa3d1c Add base of loading cloning exec for surgery 2021-08-21 14:55:39 -07:00
Brendan Hansknecht
16c929d33a Cleanup comments 2021-08-20 20:54:48 -07:00