Make blueprint generation deterministic
Sort validators before iterating on them.
This commit is contained in:
@@ -268,6 +268,19 @@ impl CheckedModules {
|
||||
}
|
||||
}
|
||||
|
||||
items.sort_by(|left, right| {
|
||||
(
|
||||
left.0.package.to_string(),
|
||||
left.0.name.to_string(),
|
||||
left.1.fun.name.to_string(),
|
||||
)
|
||||
.cmp(&(
|
||||
right.0.package.to_string(),
|
||||
right.0.name.to_string(),
|
||||
right.1.fun.name.to_string(),
|
||||
))
|
||||
});
|
||||
|
||||
items.into_iter()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user