New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS produces different archives from Linux #329
Comments
Hm, do we know what the differences are? Let me try that. 😅 |
The generated code is 100% identical but the order of the symbols in the generated objects is not stable. Interestlingy that's only the case for the non |
I tried a ton of different options and a few different nightly versions but I couldn't get the symbol order to line up. 🤷🏻♂️ |
Perhaps we should relax the check in CI then |
Hm, we could change the check to only verify the |
Turns out rustc has an unstable symbol order between Linux and macOS, but only if `-Clinker-plugin-lto` is not used, so let's only check those archives for binary changes for now. Closes #329 Signed-off-by: Daniel Egger <daniel@eggers-club.de>
Seen in #328, this means that running
cargo xtask assemble
on macOS will produce different archives from what CI expects.Not sure what the cause of this is, or if this is even fixable, but we should make sure that users on macOS can contribute to this crate without problems.
The text was updated successfully, but these errors were encountered: