Skip to content

Deterministic compilation / reproducible builds #1549

Answered by Emilgardis
GCdePaula asked this question in Q&A
Discussion options

You must be logged in to vote

just use it like cargo (cross +toolchain), but use a set image for cross to use so that it doesn't change with updates unexpectedly

https:/cross-rs/cross/blob/main/docs/config_file.md#targettargetimage

ofc you should use --remap-path-prefix in cargo and other flags to make the output reproducible if necessary

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@GCdePaula
Comment options

@Emilgardis
Comment options

@GCdePaula
Comment options

Answer selected by GCdePaula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants