We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f47808a commit 4dcc9c5Copy full SHA for 4dcc9c5
src/shims/native_lib/mod.rs
@@ -246,7 +246,8 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {
246
let p_map = alloc.provenance();
247
for idx in overlap {
248
// If a provenance was read by the foreign code, expose it.
249
- if let Some((prov, _idx)) = p_map.get_byte(Size::from_bytes(idx), this) {
+ if let Some((prov, _idx)) = p_map.get_byte(Size::from_bytes(idx), this)
250
+ {
251
this.expose_provenance(prov)?;
252
}
253
0 commit comments