On Sun, Dec 17, 2017 at 7:11 PM, Ally Dale <
vip...@gmail.com> wrote:
>
> Thanks a lot, but I tried to pass timestamp by
> "-X=runtime.buildtimestamp=xxxx" to linker, it fails with the same message.
> I guess the timestamp makes the dependence packages always STALE, maybe I
> have to check logic of command "go list".
Sorry, I did not mean to suggest that you use something like
-X=runtime.buildtimestamp. I agree that that is problematic. I meant
to suggest that you use the -X option to set a variable in your own
package, not in the runtime package. There's no reason to add a
variable to the runtime package for this.
Ian
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
golang-nuts...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.