Every plugin import now counts as a host call (reply_len, reply_read and set_output were free), and bytes copied out of or into the plugin's memory spend fuel, reserved before the copy or allocation, including when call overhead is set to zero. Fixes #192. The log byte budget test from #216 runs with the default fuel, since copying a megabyte of log bytes is itself charged now. |
||
|---|---|---|
| .. | ||
| bundle.rs | ||
| bundle_tests.rs | ||
| lib.rs | ||
| manifest.rs | ||
| sandbox.rs | ||
| tests.rs | ||
| v2_tests.rs | ||
| widget.rs | ||
| widget_tests.rs | ||