You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've been trying to get a minimal C++ project working with please.
I want to be able to run googletest tests and hit the following build error when using cc_test
❯ plz build
Build stopped after 10.26s. 1 target failed:
//src:my_test
Error building target //src:my_test: exit status 1
ld: unknown options: -noall_load
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I made a fork of this repository, changed the flag -all_load to -force_load and removed the -noall_load flags from build_defs/cc.build_defs. I can build and run the test with that change.
However, the GitHub actions for this repository are failing.
I'm not convinced they are failing due to this change, though, as other pull requests have them failing in the same way.
I'm opening this issue as a means of communication.
I'd be happy to help address this however I can.
Here is a minimal set of files to reproduce this issue:
Hello, I've been trying to get a minimal C++ project working with please.
I want to be able to run googletest tests and hit the following build error when using cc_test
I made a fork of this repository, changed the flag
-all_load
to-force_load
and removed the-noall_load
flags frombuild_defs/cc.build_defs
. I can build and run the test with that change.However, the GitHub actions for this repository are failing.
I'm not convinced they are failing due to this change, though, as other pull requests have them failing in the same way.
I'm opening this issue as a means of communication.
I'd be happy to help address this however I can.
Here is a minimal set of files to reproduce this issue:
contents of
.plzconfig
contents of
plugins/cc/BUILD
contents of
third_party/cc/BUILD
contents of
src/BUILD
contents of
src/test.cc
The text was updated successfully, but these errors were encountered: