Expand description
This module ensures that if a functionโs ABI requires a particular target feature, that target feature is enabled both on the callee and all callers.
Functionsยง
- check_
call_ ๐site_ abi - Check the ABI at a call site, emitting an error when:
- check_
callees_ ๐abi - check_
feature_ ๐dependent_ abi - check_
instance_ ๐abi - Checks the ABI of an Instance, emitting an error when:
- do_
check_ ๐simd_ vector_ abi - Checks whether a certain function ABI is compatible with the target features currently enabled
for a certain function.
is_callindicates whether this is a call-site check or a definition-site check; this is only relevant for the wording in the emitted error. - do_
check_ ๐unsized_ params - Emit an error when a non-rustic ABI has unsized parameters.
Unsized types do not have a stable layout, so should not be used with stable ABIs.
is_callindicates whether this is a call-site check or a definition-site check; this is only relevant for the wording in the emitted error. - uses_
vector_ ๐registers