Skip to content

Conversation

@dmah42
Copy link
Member

@dmah42 dmah42 commented Jan 29, 2024

note if bzlmod is disabled the version will be an empty string

@dmah42 dmah42 requested a review from LebedevRI January 29, 2024 13:34
@LebedevRI
Copy link
Collaborator

Also drop the hello, bazel fallback from code?

#if defined(BENCHMARK_VERSION)
return {BENCHMARK_VERSION};
#else
return "hello, bazel!";
Copy link
Collaborator

@LebedevRI LebedevRI Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, just return {BENCHMARK_VERSION};

LebedevRI
LebedevRI previously approved these changes Jan 29, 2024
Copy link
Collaborator

@LebedevRI LebedevRI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me.
Thank you

@dmah42 dmah42 merged commit 30a37e1 into main Jan 29, 2024
@dmah42 dmah42 deleted the bazel_version branch January 29, 2024 13:48
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.

2 participants