Repository navigation
SpecLab v0.1.2
SpecLab v0.1.2
This release fixes sanitizer builds for consumers and adds macOS on Apple Silicon. The test API is unchanged.
Highlights
- Sanitizer builds of consumers fixed. In v0.1.1,
-fsanitize=…was not passed on to code that doesimport speclab;. When that code was left uninstrumented, GCC 16 crashed with an internal compiler error (expand_UBSAN_NULL). The flag is now PUBLIC onspeclab, for compiling and linking, in the build tree and in the installed package. - macOS on Apple Silicon. It is supported with upstream LLVM/Clang 21.1.8 and libc++ (
brew install llvm@21 ninja, then--toolchain cmake/toolchains/macos-arm64-llvm.cmake), and CI builds it onmacos-15. On macOS, AppleClang and non-arm64 targets (including universalarm64;x86_64builds) are now refused at configure time with a clear message. - Both Clang toolchain files reject a conflicting
-stdlib=anywhere inCMAKE_CXX_FLAGS. - README rewritten against the actual API, with per-platform CI badges. Every example is compiled with
-Wall -Wextra -Werrorand run. TheRequirement/Feature/IEC62304Processbuilders are documented as metadata-only: theirExecute()runs no test (#25). - CI:
- The release workflow can now create the GitHub release itself.
- The Security workflow publishes its CodeQL and Trivy results again.
aquasecurity/trivy-actionis pinned by commit.
See CHANGELOG.md for details.
Supported platforms (all built in CI)
- Windows x64 / x86: MSVC 17.10+
- Linux x64:
- GCC 16.1.0, with CMake 4.1.1, 4.3.1 or 4.4.2
- Clang 21 + libc++
- macOS Apple Silicon: Clang 21.1.8 + libc++
- CMake 4.0 to 4.4. GCC 16.2.0 is not usable (#17).
Important
SpecLab is an experimental project. Its compliance features are conceptual and educational: using it does not make software compliant with IEC 62304, ISO 13485 or ISO 14971, and it is not recommended for production use.
Release tags are immutable. v0.1.2 points at be930c3 and will not be moved. Each package has a matching SHA-256 checksum file. The packages were built by the Release workflow run for this tag.