-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(c-api) Introduce the middleware (specifically metering) C API #2103
Commits on Feb 9, 2021
-
1
Configuration menu - View commit details
-
Copy full SHA for 197d0f7 - Browse repository at this point
Copy the full SHA 197d0f7View commit details
Commits on Mar 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d660943 - Browse repository at this point
Copy the full SHA d660943View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bc502b - Browse repository at this point
Copy the full SHA 2bc502bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd5a9b5 - Browse repository at this point
Copy the full SHA fd5a9b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbbdfda - Browse repository at this point
Copy the full SHA cbbdfdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f43391 - Browse repository at this point
Copy the full SHA 0f43391View commit details -
Configuration menu - View commit details
-
Copy full SHA for db4286d - Browse repository at this point
Copy the full SHA db4286dView commit details -
feat(c-api) Add
_delete
and rename_value
to `wasmer_metering_poi……nts_unwrap_or`.
Configuration menu - View commit details
-
Copy full SHA for 8b30ae9 - Browse repository at this point
Copy the full SHA 8b30ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb02694 - Browse repository at this point
Copy the full SHA cb02694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b0572f - Browse repository at this point
Copy the full SHA 3b0572fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e67fd6a - Browse repository at this point
Copy the full SHA e67fd6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f1a4f3 - Browse repository at this point
Copy the full SHA 8f1a4f3View commit details
Commits on Mar 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fb973b2 - Browse repository at this point
Copy the full SHA fb973b2View commit details -
feat(c-api) Rename
wasmer_module_middleware_t
to `wasmer_middleware……_t`. Also, move it into the `unstable::middleware` module.
Configuration menu - View commit details
-
Copy full SHA for 31669b8 - Browse repository at this point
Copy the full SHA 31669b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 798dd88 - Browse repository at this point
Copy the full SHA 798dd88View commit details -
Configuration menu - View commit details
-
Copy full SHA for e014807 - Browse repository at this point
Copy the full SHA e014807View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19c0412 - Browse repository at this point
Copy the full SHA 19c0412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c4e063 - Browse repository at this point
Copy the full SHA 0c4e063View commit details -
Configuration menu - View commit details
-
Copy full SHA for 902f58e - Browse repository at this point
Copy the full SHA 902f58eView commit details
Commits on Mar 4, 2021
-
feat(middleware) Relax
F
inMetering<F>
by removingClone
and `……Copy`. The `F` parameter for `Metering`, and therefore for `FunctionMetering`, no longer requires to implement the `Clone` and `Copy` traits.
Configuration menu - View commit details
-
Copy full SHA for 487c964 - Browse repository at this point
Copy the full SHA 487c964View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7780423 - Browse repository at this point
Copy the full SHA 7780423View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2c4f1e - Browse repository at this point
Copy the full SHA e2c4f1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0163b33 - Browse repository at this point
Copy the full SHA 0163b33View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c78e7 - Browse repository at this point
Copy the full SHA e7c78e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 072066a - Browse repository at this point
Copy the full SHA 072066aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0024c5 - Browse repository at this point
Copy the full SHA f0024c5View commit details -
feat(c-api) Simplify the metering API.
This patch removes the following type and functions: * `wasmer_metering_points_t`, * `wasmer_metering_points_delete`, * `wasmer_metering_points_is_exhausted`, * `wasmer_metering_points_t`, * `wasmer_metering_points_unwrap_or`. Now, `wasmer_metering_get_remaining_points` returns the number of points, with zero to represent `MeteringPoints::Exhausted`. The API is greatly simplified as there is no longer need to allocate and deallocate a `wasmer_metering_points_t` type.
Configuration menu - View commit details
-
Copy full SHA for 4f2ba72 - Browse repository at this point
Copy the full SHA 4f2ba72View commit details -
Configuration menu - View commit details
-
Copy full SHA for f233ca4 - Browse repository at this point
Copy the full SHA f233ca4View commit details -
Configuration menu - View commit details
-
Copy full SHA for df0bdeb - Browse repository at this point
Copy the full SHA df0bdebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d20f44 - Browse repository at this point
Copy the full SHA 2d20f44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4136536 - Browse repository at this point
Copy the full SHA 4136536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96524b5 - Browse repository at this point
Copy the full SHA 96524b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8517547 - Browse repository at this point
Copy the full SHA 8517547View commit details -
feat(c-api) Return ~1 if metering are exhausted. Add `wasmer_metering…
…_points_are_exhausted`.
Configuration menu - View commit details
-
Copy full SHA for 1700c2d - Browse repository at this point
Copy the full SHA 1700c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06a00d9 - Browse repository at this point
Copy the full SHA 06a00d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f7b7e - Browse repository at this point
Copy the full SHA d3f7b7eView commit details
Commits on Mar 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 21ea09f - Browse repository at this point
Copy the full SHA 21ea09fView commit details