Commit Graph

428 Commits

Author SHA1 Message Date
Felix Schütt
b26b48794c Move get_module_info into the Engine 2023-01-19 19:43:01 +01:00
Felix Schütt
17943e5e11 Refactor Artifact::new into separate sub-functions 2023-01-19 17:24:44 +01:00
Felix Schütt
fd5962dd66 Revert "Fix make lint"
This reverts commit e2755b7107.
2023-01-19 09:23:10 +01:00
Felix Schütt
d52ae79070 Merge branch 'master' into fix-master-red-2 2023-01-18 21:53:16 +01:00
Felix Schütt
ed7f122ed5 Fixed create_exe_serialized tests 2023-01-18 20:05:31 +01:00
Felix Schütt
790fcfca59 Debug why get_store_for_target fails 2023-01-18 18:39:00 +01:00
Felix Schütt
a70a4922ad Fix feature flags and misleading error message 2023-01-18 12:21:16 +01:00
Felix Schütt
e2755b7107 Fix make lint 2023-01-17 21:07:09 +01:00
ptitSeb
87eb05d6d6 Merge branch 'master' into wasix-core-changes 2023-01-16 09:39:08 +01:00
Syrus Akbary
1cdb3ebf5a Fixed custom section being skipped if the section name is “name” 2023-01-12 19:59:35 +01:00
ptitSeb
26b43fee27 Merge branch 'master' into wasix-core-changes 2023-01-05 21:32:17 +01:00
Felix Schütt
0313fe4667 Revert "Disable publish_eh_frame"
This reverts commit 5a9418aaf9.
2023-01-05 15:38:50 +01:00
Felix Schütt
5a9418aaf9 Disable publish_eh_frame 2023-01-05 13:27:49 +01:00
Felix Schütt
bf37e63bba Remove last case of manual WASMER_METADATA formatting and enable LLVM 2023-01-04 19:20:21 +01:00
ptitSeb
5b5d032583 Fixed linter 2023-01-04 19:19:12 +01:00
ptitSeb
9fbc7f4ea5 Removed default Compiler::name() implementation 2023-01-04 18:38:17 +01:00
Felix Schütt
84dc64bbd1 Migrate from WASMER_METADATA_ to using SymbolRegistry 2023-01-04 17:36:52 +01:00
Felix Schütt
2c9ad00573 WASMER_{}_METADATA -> WASMER_METADATA_{} 2023-01-04 15:44:25 +01:00
Felix Schütt
253cd21183 Document metadata_prefix and remove PrefixerFn 2023-01-04 15:23:43 +01:00
Felix Schütt
683c60c255 Refactor gen-c-header using Artifact::metadata 2023-01-04 11:24:31 +01:00
Felix Schütt
afb9d401cd Add gen-c-header option 2023-01-04 09:45:08 +01:00
Felix Schütt
c7986832a2 Debug why linking WASMER_METADATA doesn't work for multiple files 2022-12-22 13:58:40 +01:00
Christoph Herzog
cfa3bf4200 Merge remote-tracking branch 'origin/master' into wasix-core-changes 2022-12-22 13:51:14 +01:00
Mallory Adams
5648e5091b Use GNU/Linux frame registration code for FreeBSD too
This change prevents a long hang when a program exits.

FreeBSD's `__deregister_frame` and `__register_frame` implementations
are ported from GCC, which is why we should be using the same frame
registration code for FreeBSD and GNU/Linux.

Link: https://github.com/freebsd/freebsd-src/blob/release/13.1.0/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c#L241-L299
Fixes: https://github.com/wasmerio/wasmer/issues/3373
2022-12-20 11:30:29 -05:00
Christoph Herzog
7503fdacd3 Remove module_start from ArtifactBuild::new, provide builder instead
Remove the added module_start argument in ArtifactBuild::new() to avoid
a breaking change.

Introduce a with_module_start() method instead.
2022-12-16 11:47:04 +01:00
Christoph Herzog
838bfe2c71 Make Compiler::name() optional
Makes the new Compiler::name() method optional by adding a default
implementation.

This avoid a breaking public API change.
2022-12-16 11:47:04 +01:00
Christoph Herzog
5109a407c4 WASIX Preparation
This commit extracts changes to core libraries made in the WASIX branch.

It is not reasonable to extract the partial commit history, so this is
just a batch commit.

The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
2022-12-16 11:47:04 +01:00
Felix Schütt
d45850733e Release 3.1.0 2022-12-12 13:38:00 +01:00
ptitSeb
253fd4fbdf Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-30 17:48:19 +01:00
ptitSeb
75b5ea3fdd Merge branch 'master' into feat_engineref 2022-11-30 11:13:03 +01:00
ptitSeb
605ddf1dfb Fixed doc building 2022-11-30 10:38:45 +01:00
ptitSeb
f4723685a2 Fixed wasm32 build 2022-11-29 22:07:45 +01:00
ptitSeb
33a433fef7 Engine now has it's own Tunables 2022-11-29 21:15:32 +01:00
ptitSeb
01e99dda90 Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-29 17:00:30 +01:00
ptitSeb
30a7d61943 Merge branch 'master' into feat_sharedmemory 2022-11-29 14:39:45 +01:00
ptitSeb
45b1f4b311 Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-28 09:41:33 +01:00
Felix Schütt
b70f6e9052 Release 3.0.2 2022-11-25 21:30:20 +01:00
ptitSeb
ffd6d6b140 Merge branch 'master' into feat_sharedmemory 2022-11-24 15:56:32 +01:00
ptitSeb
19c302904e Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-23 16:11:07 +01:00
ptitSeb
d0bef5c026 Store Used CpuFeature in Artifact instead Present CpuFeatures for Singlepass 2022-11-23 11:28:22 +01:00
Felix Schütt
27f3300fef Release 3.0.1 2022-11-23 01:14:06 +01:00
John Sharratt's Shared Account
a5f641b4b0 Implemented shared memory for Wasmer in preparation for multithreading
Fixed linter

Fixed clippy

Cleaned up some merge leftover
2022-11-22 14:11:32 +01:00
ptitSeb
9b599ebe0c Merge branch 'master' into imp_use_reight_collection_sections 2022-11-21 18:22:59 +01:00
ptitSeb
2a6d5e7687 Merge branch 'master' into imp_limit_compilation_clone 2022-11-21 11:12:24 +01:00
Felix Schütt
dcc0164698 Release 3.0.0 2022-11-20 17:00:03 +01:00
Felix Schütt
91c2c1daea Release 3.0.0-rc.4 2022-11-19 16:21:42 +01:00
Felix Schütt
820b83e56b Update 3.0.0-rc.2 -> 3.0.0-rc.3 2022-11-18 19:50:41 +01:00
ptitSeb
6dcca7aa81 Use the reight collection when parsing type section 2022-11-10 15:23:23 +01:00
ptitSeb
ecc0c9e547 Limit the use of clone when handling Compilation object 2022-11-09 13:23:44 +01:00
Felix Schütt
d2364f40bb Update versions via script 2022-11-02 14:52:12 +01:00