We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30854f7 commit 62d4bb8Copy full SHA for 62d4bb8
Sources/_TestingInternals/Versions.cpp
@@ -18,13 +18,13 @@ const char *swt_getTestingLibraryVersion(void) {
18
#if defined(SWT_TESTING_LIBRARY_VERSION)
19
// The current environment explicitly specifies a version string to return.
20
return SWT_TESTING_LIBRARY_VERSION;
21
-#elif __has_embed("../../version.txt")
+#elif __has_embed("../../VERSION.txt")
22
static constinit auto version = [] () constexpr {
23
// Read the version from version.txt at the root of the package's repo.
24
char version[] = {
25
#pragma clang diagnostic push
26
#pragma clang diagnostic ignored "-Wc23-extensions"
27
-#embed "../../version.txt"
+#embed "../../VERSION.txt"
28
#pragma clang diagnostic pop
29
};
30
0 commit comments