wasmerio / wasmer-pack

MIT License
49 stars 5 forks source link

Let Python import host functions #113

Closed Michael-F-Bryan closed 1 year ago

Michael-F-Bryan commented 1 year ago

Description

This PR updates the code generator to allow importing host functions from libraries.

Fixes #85, #50.

Context

WebAssembly modules can both exporting functionality to the outside world and import functionality from the host, but at the moment Wasmer Pack's generated Python packages only allow exporting interfaces. This PR fixes that.

github-actions[bot] commented 1 year ago

⏱ Workflow Timer ⏱

Make sure you keep an eye on build times!

One of this project's goals is to keep CI runs under 5 minutes so developers can maintain fast edit-compile-test cycles.

Run Compile and Test
master 6mins 56s
846cb53 4mins 39s

🤖 Beep. Boop. I'm a bot. If you find any issues, please report them to https://github.com/Michael-F-Bryan/workflow-timer.