提交 7d7cc3c8 编写于 作者: M Megvii Engine Team

feat(gi/riscv): add gi support with risc-v

GitOrigin-RevId: a28fec3ce57c70d491845b8546c3b0ffbdf65770
上级 a32b7277
此差异已折叠。
#if defined(ONLY_BUILD_GI_API)
#include <gtest/gtest.h>
int gtest_main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
auto ret = RUN_ALL_TESTS();
return ret;
}
int main(int argc, char** argv) {
return gtest_main(argc, argv);
}
#else
extern "C" int gtest_main(int argc, char** argv);
int main(int argc, char** argv) {
return gtest_main(argc, argv);
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册