Replies: 1 comment
-
I don't know why just linking the test would enable lto, I have no more information. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which linker should be used in
check_cxsnippet
if you using custom toolchain?For example, with custom clang-18 toolchain with enabled LTO for test snippet of Catch2 library right now xmake using "ld" linker, which is different from "ld" env variable.
Debug log: https://gist.github.com/jj683/999b2705b3c0c36fec50d3b39751debc
Beta Was this translation helpful? Give feedback.
All reactions