Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00
Anton-4
ec7bd86725
patch
2022-06-15 14:18:15 +02:00
Anton-4
77f20afe63
clear local cache dir as well
2022-06-06 17:20:23 +02:00
Anton-4
cb229dad95
Fix zig caching issue
2022-06-01 13:38:38 +02:00
Anton-4
e4412f73f2
add nix apple M1 workflow
2022-05-30 19:34:04 +02:00
Brian Carroll
6a91e66192
Delete env var NO_ZIG_INSTALLED since Zig is now installed on Netlify
2022-05-15 12:57:37 +01:00
Folkert
7361a8aed2
fix merge conflict
2022-04-30 23:34:42 +02:00
Brian Carroll
9491d5fae9
Merge branch 'trunk' into update_zig_09
2022-04-15 21:17:25 +01:00
Richard Feldman
be725d6421
Revert changes to IR filenames
2022-04-14 10:55:25 -04:00
Richard Feldman
e9d4a4134a
Give more info when copying obj files fails
2022-04-13 01:26:10 -04:00
Richard Feldman
412eb763bb
Add support for x64 linux
2022-04-13 01:21:12 -04:00
Richard Feldman
c7f5beb0ad
Rename generated .bc files to have target triples
2022-04-13 01:21:12 -04:00
Folkert
a69bf971f0
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-04-06 15:38:15 +02:00
Folkert
07063a8e18
Merge remote-tracking branch 'origin/trunk' into list-str-capacity
2022-03-09 14:36:34 +01:00
Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes
2022-02-28 19:12:18 +01:00
Anton-4
6acd2f338b
successful cargo build on windows
2022-02-28 18:11:14 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors
2022-02-28 13:48:11 +01:00
Brian Carroll
07748b2b86
builtins: change mv
to cp
to prevent wasm build from crashing
2022-02-27 12:40:04 +00:00
Anton-4
8fee48c3fa
windows zig path validation workaround
...
std::fs::canonicalize adds a special windows prefix ?, zig erroneously (ziglang/zig#1509 ) does not allow ? in windows paths, dunce correctly removes this ? prefix
2022-02-22 16:17:21 +01:00
Folkert
2c4d0e71a6
fix string repeat tests
2022-02-20 00:47:07 +01:00
Folkert
238298e599
use zig instead of llvm-as to generate .bc files
2022-02-16 13:44:26 +01:00
Folkert
022b1ca83a
use ROC_ZIG environment variable to configure which zig is used
2021-12-25 22:27:52 +01:00
Folkert
75c090fd24
cleanup
2021-11-06 23:57:21 +01:00
Folkert
a31279a2c6
generate wasm32 object file
2021-11-06 23:03:46 +01:00
Folkert
a7eeae05ca
support i386 (no linking yet)
2021-09-04 01:31:33 +02:00
rvcas
059aeaf1de
fix: obj and ir files have new names
2021-08-29 10:47:53 -04:00
Folkert
40d86551ad
build builtins with 32-bit pointers
2021-08-24 16:38:47 +02:00
Folkert
459af15c8f
WIP
2021-08-23 21:14:09 +02:00
Richard Feldman
5dc0870f6a
Use vanilla llvm-as
2021-06-07 22:05:00 -04:00
Folkert
8e227c7e7c
update to llvm 12
2021-06-07 20:02:59 +02:00
Richard Feldman
3684488629
Make sure BUILTINS_O gets set
2021-06-06 00:55:10 -04:00
Richard Feldman
0e5619c422
Skip zig build on Netlify
2021-06-05 22:32:34 -04:00
Folkert
551c9355a6
run rustfmt
2021-05-29 20:57:27 +02:00
Jared Ramirez
a4d3f96f25
Run build script instead of zig build on big sur
2021-05-28 17:03:59 -07:00
Richard Feldman
829edd509c
Include builtins.bc in the roc binary
2021-05-26 20:45:27 -04:00
Folkert
27dc420617
don't rebuild when zig cache changes
2021-02-17 23:42:28 +01:00
Brendan Hansknecht
7d24d51392
gen_dev: generate and link zig builtins.
2021-02-14 18:15:00 -08:00
Richard Feldman
7391ec98f7
Make builtin build.rs script more resilient
...
Before this change, re-running it from the root of the project
failed for me.
2020-12-09 22:42:40 -05:00
Folkert
1fe0f5d780
Merge remote-tracking branch 'origin/trunk' into editor-ir
2020-12-05 20:58:27 +01:00
Jared Ramirez
d41ea3f2d7
Fix clippy
2020-12-04 14:21:18 -07:00
Jared Ramirez
7e9cf27d94
[WIP] Use zig build system in build script; Nearly fix str tests
2020-12-04 14:07:47 -07:00
Chad Stearns
58f0c48338
Str.split works for big str
2020-11-08 15:01:52 -05:00
Chad Stearns
b4ecf3c12f
Make zig builtins recompilation sensitive to all zig files
2020-11-08 15:01:08 -05:00
Jared Ramirez
430666a948
Fix cargo clippy
2020-11-07 15:29:53 -06:00
Jared Ramirez
63308d90e1
Add Str.countGraphemes
2020-11-06 16:54:28 -06:00
Richard Feldman
675c46816a
Explicitly use llvm-as-10
2020-10-28 20:19:50 -04:00
Jared Ramirez
3e0d4cd3c7
Docs & comments cleanup
2020-10-28 11:19:38 -07:00
Jared Ramirez
242eb6f905
Build bitcode with zig 🎉
2020-10-28 09:21:56 -07:00