Skip to content

Commit 669b99d

Browse files
committed
Elaborate comment.
1 parent c423305 commit 669b99d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4261,6 +4261,8 @@ impl<'test> TestCx<'test> {
42614261
// AllocId are numbered globally in a compilation session. This can lead to changes
42624262
// depending on the exact compilation flags and host architecture. Meanwhile, we want
42634263
// to keep them numbered, to see if the same id appears multiple times.
4264+
// So we remap to deterministic numbers that only depend on the subset of allocations
4265+
// that actually appear in the output.
42644266
{
42654267
use std::fmt::Write;
42664268

0 commit comments

Comments
 (0)