Brian Carroll
a590fafa76
Change a file extension .o -> .wasm to make Zig emit wasm
...
Zig 0.9 would prioritise the -target but now it seems to prioritise the file extension
2023-10-23 13:50:31 -07:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02: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
Richard Feldman
a8b6fa051a
Centralize host tempfile builder logic
2022-11-22 20:52:44 -05:00
Richard Feldman
0b73ea69af
Make sure tempfiles don't get dropped too early
2022-11-22 20:22:08 -05:00
Richard Feldman
9c1291d57d
Give tempfiles the file extensions Zig expects
2022-11-22 19:19:54 -05:00
Richard Feldman
e97a5fe7f6
Use include_bytes! so builtin hosts live in binary
2022-11-22 17:57:32 -05:00
Anton-4
4ec43d9964
Closes #4423 , link build command refactoring
2022-10-31 21:32:38 +01:00
Folkert de Vries
a345649856
make test_gen build windows-proof
2022-08-03 21:46:04 +02:00
Folkert de Vries
614044e6a0
ugh
2022-08-02 21:26:13 +02:00
Folkert de Vries
b0b6d89480
revert some stuff that slipped through
2022-08-02 20:25:55 +02:00
Folkert de Vries
86f2bb4343
add darwin as a supported OS
2022-08-02 19:54:44 +02:00
Folkert de Vries
f601a56d52
Revert "be explicit about the target"
...
This reverts commit 882ac1ea48
.
2022-08-02 15:37:38 +02:00
Folkert de Vries
882ac1ea48
be explicit about the target
...
on windows, the file extentions are not enough to derive the target
2022-08-02 14:55:38 +02:00
Anton-4
43f9e2a7c3
fixes to make default.nix work
2022-08-01 16:50:38 +02:00
Folkert
5f8d2df0fa
use new OUT_DIR for llvm wasm backend
2022-07-22 12:10:10 +02:00
Brian Carroll
8533d00f1a
test_gen: place test host .wasm file in Cargo build directory
2022-07-11 20:47:24 +01:00
Folkert
959af4dbfb
build wasm test platform when running llvm wasm tests
2022-07-10 14:12:21 +02:00
Brian Carroll
6da71008cb
test_gen: update build script for easier debug
2022-07-10 14:08:34 +02:00
Brian Carroll
35dc65440c
test_gen: use include_bytes! instead of std::fs::read for test host
2022-07-10 14:08:32 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00