Skip to content

Commit 0ba1f4a

Browse files
committed
Auto merge of #2804 - saethlin:rustup, r=RalfJung
Rustup
2 parents 5e41c26 + 010f2dc commit 0ba1f4a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c4e0cd966062ca67daed20775f4e8a60c28e57df
1+
04e957578c77c95a0505f5818d0068b459f673e3

src/machine.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,11 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
777777

778778
type Provenance = Provenance;
779779
type ProvenanceExtra = ProvenanceExtra;
780+
type Bytes = Box<[u8]>;
780781

781782
type MemoryMap = MonoHashMap<
782783
AllocId,
783-
(MemoryKind<MiriMemoryKind>, Allocation<Provenance, Self::AllocExtra>),
784+
(MemoryKind<MiriMemoryKind>, Allocation<Provenance, Self::AllocExtra, Self::Bytes>),
784785
>;
785786

786787
const GLOBAL_KIND: Option<MiriMemoryKind> = Some(MiriMemoryKind::Global);

0 commit comments

Comments
 (0)