add docs for `emulate_foreign_item_by_bame
This commit is contained in:
parent
32bc015e35
commit
dbef2340b2
1 changed files with 3 additions and 0 deletions
|
|
@ -178,6 +178,9 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
|||
Ok(None)
|
||||
}
|
||||
|
||||
/// Emulates calling a foreign item using its name, failing if the item is not supported.
|
||||
/// Returns Ok(false) if after calling this function, the call should return earlier instead of
|
||||
/// going to the next block.
|
||||
fn emulate_foreign_item_by_name(
|
||||
&mut self,
|
||||
link_name: &str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue