Skip to main content

Module security

Module security 

Source
Expand description

submilli:security — semantic capability check.

One async Rust host function registered directly under the package name. The context value is serialized by re-entering its toJson vtable slot (the dispatch may run guest code for user classes), then handed to the embedder’s policy engine.

Constants§

MODULE_NAME

Functions§

install
is_check
Whether mangled is this package’s check. Matching the package-export mangled name is what makes the answer independent of how the symbol was imported: a named, an aliased and a namespace import all carry it, while a user’s own check never can.
package_declaration