Move the package version to VERSION.txt.#1304
Conversation
|
@swift-ci test |
3 similar comments
|
@swift-ci test |
|
@swift-ci test |
|
@swift-ci test |
793ed7d to
35e2e06
Compare
This change moves the definition of Swift Testing's version to a new file, version.txt. This file doesn't represent a standard, _per se_, but it is common for open-source projects to list their version info in such a file. And by putting our version info in this file, we can share it between package builds and CMake builds.
… rely on it being a macro instead, I guess
2623161 to
afa1d9c
Compare
|
Also, looks like there's a conflict with my PR #1312 since I touched many CMake files |
|
Will fix the conflict. |
|
FYI: for OpenBSD, the native platform compiler doesn't support C23 yet, so this causes an error ( |
|
We should always be building with (a recent) clang, but if there's an OpenBSD-specific issue, can it be solved by setting the |
|
I don't think so, but instead, we could probably also do something like a platform specific |
|
Or just |
|
That won't work on older clang versions (see e.g. https://godbolt.org/z/edGb78fbd). |
This change moves the definition of Swift Testing's version to a new file, VERSION.txt. This file doesn't represent a standard, per se, but it is common for open-source projects to list their version info in such a file. And by putting our version info in this file, we can share it between package builds and CMake builds.
Currently using C23's
#embedwhich is supported in clang as a non-standard extension. C++26 will add support for#embed.Checklist: