Fuchsia's unit test library provides the main function by default.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp | ||
---|---|---|
33 | If you won't use main on Fuchsia do you need the #if? |
compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp | ||
---|---|---|
33 | I was still using it for one case but not for another. But you made me realize that the zxtest library provides a main function too, so it's actually sufficient to just always omit main for Fuchsia. That simplifies this change a lot. |
If you won't use main on Fuchsia do you need the #if?