diff --git a/src/shims/foreign_items.rs b/src/shims/foreign_items.rs index 14e08f5181f5..3df653d1741a 100644 --- a/src/shims/foreign_items.rs +++ b/src/shims/foreign_items.rs @@ -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,