-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Sometimes there is a reason to have byte-reproducible builds. As is, shadow-rs generates a number of variables, some of which are reproducible, while others are not. This may lead to users using such variables without consideration.
Ideally, I would like for the non-reproducible builds to be separated, either by using a non-default feature, or at least putting them in a separate module, so usage would look like:
shadow_rs::shadow!(build);
fn main() {
println!("{}", build::non_reproducible::BUILD_TIME);//2020-08-16 14:50:25
}If those are not options, at the very least documenting this would be a good idea.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels