2 Commits
Author SHA1 Message Date
Philipp Stephani d54d30fecb Add alwayslink = True to //:gtest_main
Fixes #4868
2025-11-04 19:42:58 +01:00
Philipp Stephani ae2b601bea Don’t link targets with main function against //:gtest_main
This works only because the linker discards the main function from the
//:gtest_main library, otherwise the symbol would be duplicated.
2025-11-04 19:42:58 +01:00