You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ordering of the lines of the generated shadow.rs is irreproducible, leading to build failures with antioxidant (because dependency $foo is compiled against dependency $bar using shadow-rs, compiled on machine $X and dependency $baz is compiled against dependency $bar on another machine $Y).
The issue appears to be that hash maps are used. For now, I've worked around things by replacing
for (k, v) in self.map.clone() {
by
for (k, v) in std::collections::BTreeMap::from_iter(self.map.clone().iter()) {
and likewise for iteration over self.maps.keys().
(That was for rust-shadow-rs@0.8, but looking at the code it would seem that the same holds for the latest version.)
The text was updated successfully, but these errors were encountered:
emixa-d
added a commit
to emixa-d/antioxidant-fallback
that referenced
this issue
Jun 29, 2022
The ordering of the lines of the generated shadow.rs is irreproducible, leading to build failures with antioxidant (because dependency $foo is compiled against dependency $bar using shadow-rs, compiled on machine $X and dependency $baz is compiled against dependency $bar on another machine $Y).
The issue appears to be that hash maps are used. For now, I've worked around things by replacing
by
and likewise for iteration over
self.maps.keys()
.(That was for
rust-shadow-rs@0.8
, but looking at the code it would seem that the same holds for the latest version.)The text was updated successfully, but these errors were encountered: