Skip to content

Conversation

alexeagle
Copy link
Contributor

Currently users must explicitly set stamp = -1 on a rust_library that relies on a build env file.

https://github.com/bazelbuild/rules_rust/blob/906d1fa6232464b6c704b0d5c431ef8ba5c26010/test/unit/stamp/stamp_test.bzl illustrates this, but in a way that's hard to observe, since it's explicitly setting options everywhere.

I think we're also missing a documentation page explaining how to stamp your rust binaries. Whether or not this PR is accepted, I think we also need to write that (unless I missed it somewhere)

Currently users must explicitly set `stamp = -1` on a `rust_library` that relies on a build env file.

https://github.com/bazelbuild/rules_rust/blob/906d1fa6232464b6c704b0d5c431ef8ba5c26010/test/unit/stamp/stamp_test.bzl illustrates this, but in a way that's hard to observe, since it's explicitly setting options everywhere.

I think we're also missing a documentation page explaining how to stamp your rust binaries. Whether or not this PR is accepted, I think we also need to write that (unless I missed it somewhere)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant