Syrus
e604d6db49
Fixed linting
2020-06-18 13:08:52 -07:00
Syrus
5273fa0cae
Moved tunables into Store
2020-06-18 12:56:38 -07:00
Syrus
f2fa2a9100
Created builders for JIT and Native engines
2020-06-18 00:57:32 -07:00
Syrus
99bd98458a
Improved compiler configurations
2020-06-17 22:47:32 -07:00
Syrus
e062e87d8b
Refactored Compilers
2020-06-17 19:17:06 -07:00
Syrus
bf03c734fc
Misc improvements
2020-06-11 14:29:16 -07:00
nlewycky
afc7e0f0b9
Merge pull request #99 from wasmerio/clippy-build
...
Fix Engine::same().
2020-06-11 10:02:40 -07:00
Ivan Enderlin
9be96ef291
Revert "chore(engine-native) Remove the unused method get_prefix."
...
This reverts commit a3d4286c6a .
2020-06-09 15:36:35 +02:00
Ivan Enderlin
6f2f611dc0
chore(engine-native) Declare variables as unused.
2020-06-09 15:21:15 +02:00
Ivan Enderlin
a3d4286c6a
chore(engine-native) Remove the unused method get_prefix.
2020-06-09 15:20:20 +02:00
Nick Lewycky
ebceefe36c
Impl Clone for EngineId. EngineId distinguishes between clone() calls, so it returns a new ID when cloned.
2020-06-08 15:11:16 -07:00
Nick Lewycky
4e5f878560
Don't use uuid crate. This adds an EngineId based on our ModuleId.
2020-06-08 14:37:33 -07:00
Nick Lewycky
d858b544fa
Fix Engine::same().
...
Preferably we'd be able to compare two trait objects both vptr and struct, but rust doesn't have a way to do that without relying on unsafe code.
Fixes error with `cargo clippy`.
2020-06-08 12:56:22 -07:00
Syrus
7be1b167f9
Make lint happy
2020-05-20 21:52:35 -07:00
Syrus
b8e78ee819
Try to move deserialization to the artifact
2020-05-20 21:32:04 -07:00
Syrus
3d6ff89da0
Simplified serialization
2020-05-20 21:06:12 -07:00
Syrus
2c66e2ac3c
Simplify instantiation
2020-05-20 20:23:17 -07:00
Syrus
931e9cdb0a
Make instantiation depend on the engine
2020-05-20 20:06:02 -07:00
Syrus
ff88aa1d14
Simplified engine instantiation signatures
2020-05-20 18:23:29 -07:00
Syrus
37d00ac338
Renamed CompiledModule to Artifact
2020-05-19 18:56:25 -07:00
Syrus
ae8dcfcb27
Make PIC optional for compilers
2020-05-19 16:56:56 -07:00
Syrus
78aa07fe57
Improved compile_ref messages
2020-05-19 14:45:49 -07:00
Syrus
c04dec4e25
Addressed comments
2020-05-19 13:41:24 -07:00
Syrus
ee812df0b0
Added comment on the prefixer
2020-05-19 13:38:22 -07:00
Syrus
5a324bdf0e
Improved dynamic length for header checking
2020-05-18 17:51:39 -07:00
Syrus
f3bb2241f0
Fixed linting issues
2020-05-18 17:41:25 -07:00
Syrus
88b4533832
Merge branch 'master' into native-engine
...
# Conflicts:
# Cargo.lock
# lib/api/src/externals.rs
# lib/compiler/src/relocation.rs
# lib/engine-jit/src/link.rs
# lib/engine/src/engine.rs
2020-05-18 17:26:49 -07:00
Syrus
e0c227cee6
Trampolines fix
2020-05-12 12:32:30 -07:00
Syrus
e70390c323
Added prefixer to the NativeEngine
2020-05-11 19:07:32 -07:00
Syrus
598d90b746
Improved code based on comments
2020-05-11 09:55:24 -07:00
Syrus
7b7cc50fd2
Fixed elf headers
2020-05-08 18:53:40 -07:00
Syrus
7c5cc3689e
Improved unwrap to expect
2020-05-08 18:18:26 -07:00
Syrus
ca5dfd5fdb
Fixed comments
2020-05-08 18:06:28 -07:00
Syrus
3874cf7663
Fixed tests
2020-05-08 17:46:55 -07:00
Syrus
c1d41c9fba
Use Mutex
2020-05-08 17:31:49 -07:00
Syrus
56d49ef409
Make tunables Send+Sync
2020-05-08 17:28:55 -07:00
Syrus
2b3bc4c947
Removed unnecessary Arc<Box<T>>
2020-05-08 17:01:43 -07:00
Syrus
d4e9c16e16
Added I/O errors to de/serializing
2020-05-08 16:56:19 -07:00
Syrus
1cda09c7b6
Implementing deserializing from binary
2020-05-08 14:56:47 -07:00
Syrus
081d93a94c
Native Engine should work on Linux
2020-05-08 14:42:26 -07:00
Syrus
5a6b8ec6c1
Improved comments
2020-05-08 00:24:07 -07:00
Syrus
48823bd7d6
Fixed compilation
2020-05-07 23:34:12 -07:00
Syrus
cb03913cd3
Improved deserialization
2020-05-07 23:20:34 -07:00
Syrus
d17251408a
Shared Object generation is working 🎉
2020-05-07 21:58:45 -07:00
Syrus
bdb1987d2e
Added native engine to the mix
2020-05-06 17:54:31 -07:00