pub fn resolve_with(
package: &Package,
schemas: &HostSchemas,
) -> Result<Program, Vec<Diagnostic>>Expand description
Resolves package against schemas, the host modules this compilation
may name.
This is resolve with the one thing an embedder can change: the set of
Host API descriptions the resolver reads. A module in schemas is a host
module here in every sense a shipped one is – it may not be shadowed by
a package module, a use of it is not warned about, and a call into it
requires the capability its own table declares.