[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rust reprodubility -- .rmeta and shadow-rs
From: |
Maxime Devos |
Subject: |
Re: Rust reprodubility -- .rmeta and shadow-rs |
Date: |
Thu, 30 Jun 2022 13:45:28 +0200 |
User-agent: |
Evolution 3.38.3-1 |
> https://issues.guix.gnu.org/50015
I don't think that shadow-rs changes Cargo.toml, so I think that one is
a separate issue ...
> https://issues.guix.gnu.org/55928
Maybe related, though .rmeta isn't mentioned there so maybe not.
Seems debugging information related, so maybe the report at (and fix
at)
https://github.com/rust-lang/rust/issues/34902#issuecomment-565557076
is important there.
Ludovic Courtès schreef op do 30-06-2022 om 13:35 [+0200]:
> > Anyway, here the patch I used:
> >
> > [...]
> >
> > Maybe that was the cause?
>
> You mean this issue you identified could have been the cause of
> reproducibility issues found in other Rust packages?
I don't know if it applies to leaf packages or only to dependencies,
but perhaps!
> Anyway, it looks like the snippet above should be applied to
> ‘rust-shadow-rs’ in current ‘master’, no?
Yes -- also, upstream has a patch now!
<https://github.com/baoyachi/shadow-rs/pull/97>
That's only for the ordering, not the timestamps, though.
The timestamp issue might be caused due to how antioxidant replaces
some inputs and fiddles with ‘features’ so I haven't reported that yet
....
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part