Commit Graph
20 Commits
Author SHA1 Message Date
ForLoveOfCatsandMikayla fbea44bc5c One big cleanup pass of clippy lints
Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-10 16:51:01 -07:00
Isaac Clayton 6a89b79af3 Remove epoch-based metering 2022-07-13 18:03:14 +02:00
Isaac Clayton fb1771df01 Use enum to differentiate between normal and precompiled plugins 2022-07-13 14:26:52 +02:00
Isaac Clayton f0d59ff3cc Work on supporting both epoch and fuel 2022-07-13 12:41:47 +02:00
Isaac Clayton fcfa2d48dd Add support for configuring plugin yield mechanism, stashing 2022-07-13 11:57:00 +02:00
Isaac Clayton 134548e878 Switch from epoch to fuel 2022-07-13 11:09:06 +02:00
Isaac Clayton 01598d6a6d Implement periodic yielding using epoch_deadline_async_yield_and_update 2022-07-12 17:07:33 +02:00
Isaac Clayton b1bb61a83f More cleanup during review 2022-07-11 10:56:21 +02:00
Isaac Clayton ce8898acf1 Remove debug statements 2022-07-08 21:28:35 +02:00
Isaac Clayton 88baf23f60 Add basic support for precompiling plugins 2022-07-07 16:21:27 +02:00
Isaac Clayton 8ee48b2c0f Isolate smol::Command hang as a test, does not hang 2022-07-07 15:23:27 +02:00
Isaac Clayton 1c9ccbcac2 Add async host functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 680e899548 Rename WasiPlugin -> Plugin, etc. 2022-07-07 15:22:17 +02:00
Isaac Clayton 39e509e682 WIP: wrap async closures host-side 2022-07-07 15:22:17 +02:00
Isaac Clayton 6e902634c9 Add functions with multiple arguments to import macro, add test cases 2022-07-07 15:22:17 +02:00
Isaac Clayton 0d42fb8d12 Add build.rs to rebuild plugins, and a test plugin 2022-07-07 15:22:17 +02:00
Isaac Clayton efe725c503 Work on plugin builder 2022-07-07 15:22:17 +02:00
Isaac Clayton e08b18f3d6 Remove non-WASI code 2022-07-07 15:20:25 +02:00
Isaac Clayton 76c34281cc Get Wasi working 2022-07-07 15:19:02 +02:00
Isaac Clayton 1e08efb730 Work on macro binding generation, some cleanup needed, rename runner to plugin 2022-07-07 15:11:51 +02:00