edgeless-project / edgeless

MVP Implementation
Other
14 stars 0 forks source link

Move away from the WASM Component Model #142

Closed raphaelhetzel closed 4 months ago

raphaelhetzel commented 4 months ago

As the Component Model is not yet well supported by many runtimes, we decided to move away from it for now.

This PR replaces the wit-interface to a custom edgeless-specific one, changes all examples (old .wasm files are incompatible), updates the wasmtime-based runner, and adds a new wasmi-based runner.

raphaelhetzel commented 4 months ago

I've run all examples with the wasmtime-based runner. Haven't done a full test with the wasmi-based runner or tested edgeless_benchmark.

raphaelhetzel commented 4 months ago

@raphaelhetzel do you need to change

cargo install wasm-tools

into

cargo install wasm-opt

in BUILDING.md?

Yes, thought wasm opt was actually part of wasm-tools, but I was wrong there.