Modules

Structs

A CurrentSpan should be created infrequently (ideally once) per interpreter step. It does nothing on creation, but when CurrentSpan::get is called, searches the current stack for the topmost frame which corresponds to a local crate, and returns the current span in that frame. The result of that search is cached so that later calls are approximately free.

Constants

Traits

Functions

Check that the number of args is what we expect.
Retrieve the list of local crates that should have been passed by cargo-miri in MIRI_LOCAL_CRATES and turn them into CrateNums.
Helper function used inside the shims of foreign functions to check that target_os is a supported UNIX OS.
Gets an instance for a path.