Closed jansvoboda11 closed 4 months ago
This looks good to me. Can you bump LLBUILD_C_API_VERSION here too? https://github.com/swiftlang/swift-llbuild/blob/988e85f00c68f89a4996c3aa1afd756a4065b8b1/products/libllbuild/include/llbuild/llbuild-defines.h#L123
Agreed, looks good if we bump that version.
@swift-ci please test
@swift-ci please smoke test
@swift-ci please smoke test
@swift-ci please test
External commands wishing to implement their own
isResultValid()
check are not given enough resources to check the output files and other thingsExternalCommand::isResultValid()
does by default. This makes it impossible to just add some extra checks on top of the default implementation.This PR adds new C API and extends the
ProducesCustomBuildValue
protocol that allow clients to fall back to the default implementation.