commit
dd42a47f0a
@ -1 +1 @@
|
||||
c274e4969f058b1c644243181ece9f829efa7594
|
||||
8876ca3dd46b99fe7e6ad937f11493d37996231e
|
||||
|
@ -574,7 +574,7 @@ fn get_or_create_thread_local_alloc(
|
||||
let allocation = tcx.eval_static_initializer(def_id)?;
|
||||
// Create a fresh allocation with this content.
|
||||
let new_alloc =
|
||||
this.memory.allocate_with(allocation.clone(), MiriMemoryKind::Tls.into());
|
||||
this.memory.allocate_with(allocation.inner().clone(), MiriMemoryKind::Tls.into());
|
||||
this.machine.threads.set_thread_local_alloc(def_id, new_alloc);
|
||||
Ok(new_alloc)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user