Commit Graph

16 Commits

Author SHA1 Message Date
Felix Schütt
c92d8d34e3 Add compilation for single and multi-wasm inputs 2022-12-21 14:36:06 +01:00
Felix Schütt
bc7d125894 Add compile_c back and add compilation for atoms 2022-12-21 14:36:06 +01:00
Felix Schütt
03693d5ccc Simplify create-exe a lot 2022-12-21 12:14:55 +01:00
Felix Schütt
7e76db8490 Fixed most dependency errors 2022-10-27 18:42:32 +02:00
Felix Schütt
705dc8f345 Compilation with make-wasmer-pirita now works 2022-10-27 08:59:40 +02:00
Felix Schütt
e8977ed335 cargo clippy --fix 2022-10-26 18:11:33 +02:00
Felix Schütt
1e2617ca18 Add feature=pirita_file 2022-10-26 17:44:21 +02:00
Manos Pitsidianakis
4fdbd344af create-obj: remove dead code 2022-08-21 16:25:52 +03:00
Manos Pitsidianakis
306347e1b9 create-exe: fix serialized create-exe not working
Unified generated objects interfaces: both static and serialized objects
expose the same function signature to create the module:

  wasm_module_t* wasmer_object_module_new(wasm_store_t* store, const char* module_name);
2022-08-21 16:25:52 +03:00
Manos Pitsidianakis
74dae4a716 create-exe: list supported cross-compilation target triples in help text
Closes #3087
2022-08-11 18:51:57 +03:00
Wolfgang Silbermayr
2a385c7882 Migrate to clap from structopt 2022-08-08 15:51:37 +02:00
Manos Pitsidianakis
ba543fc4f7 Add support for cross-compiling in create-exe with zig cc WIP (#3076)
* Add support for cross-compiling in create-exe with zig cc WIP

zig version must be at least 0.10.0-dev.3431+4a4f3c50c

Closes #3042

* Add support for cross-compiling in create-exe with zig cc WIP

zig version must be at least 0.10.0-dev.3431+4a4f3c50c

Closes #3042

* Add SSE2 features to the CPU

* Add SSE2 features to the CPU

* create_exe: locate zig binary and check minimum version

Check that `zig` binary version is at least `0.10.0`

* create-exe: refactor cross-comp cli parsing and error checks

* create-exe: add -lunwind for cross-comp with zig

* Set the proper library for windows

* create-exe: add path exists check for --tarball value

* create-exe: add -msvc environment in triple_to_zig_triple()

Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2022-08-08 15:32:15 +02:00
Felix Schütt
520314bbf0 Fix errors from "make lint" 2022-08-05 15:40:32 +02:00
Manos Pitsidianakis
fa5152207a create-obj: add header file output and CLI flag for it 2022-08-03 14:54:56 +03:00
Manos Pitsidianakis
951e09634b cli: add documentation on create-{exe,obj} 2022-08-03 14:54:56 +03:00
Manos Pitsidianakis
83a97f5533 cli: add create-obj command
lib/compiler: read static object
2022-08-03 10:37:45 +03:00