Decide allocator kind to codegen. If Some(_)
this will be the same as
tcx.allocator_kind
, but it may be None
in more cases (e.g. if using
allocator definitions from a dylib dependency).
Coerces src
to dst_ty
which is guaranteed to be a dyn*
type.
Coerces src
, which is a reference to a value of type src_ty
,
to a value of type dst_ty
, and stores the result in dst
.
This function returns all of the debugger visualizers specified for the
current crate as well as all upstream crates transitively that match the
visualizer_type
specified.
Obtain the argc
and argv
values to pass to the rust start function.
Creates the main
function which will initialize the rust runtime and call
users main function.
Coerces src
to dst_ty
. src_ty
must be a pointer.
Retrieves the information we are losing (making dynamic) in an unsizing
adjustment.
Returns true
if this session’s target will use SEH-based unwinding.
Returns true
if this session’s target requires the new exception
handling LLVM IR instructions (catchpad / cleanuppad / … instead
of landingpad)