Elaborate comment.

This commit is contained in:
Camille GILLOT 2023-10-16 18:33:05 +00:00
parent c423305d41
commit 669b99d35e

View File

@ -4261,6 +4261,8 @@ impl<'test> TestCx<'test> {
// AllocId are numbered globally in a compilation session. This can lead to changes
// depending on the exact compilation flags and host architecture. Meanwhile, we want
// to keep them numbered, to see if the same id appears multiple times.
// So we remap to deterministic numbers that only depend on the subset of allocations
// that actually appear in the output.
{
use std::fmt::Write;