Since APICompat is triggered only when CoreCompile runs it won't rerun even if it fails.
To fix this we can emit a file when APIComat fails and have that be appended to the set of inputs to corecompile. That way when APICompat fails we'll invalidate CoreCompile's up-to-date check. On success we can delete that file.
Since APICompat is triggered only when CoreCompile runs it won't rerun even if it fails.
To fix this we can emit a file when APIComat fails and have that be appended to the set of inputs to corecompile. That way when APICompat fails we'll invalidate CoreCompile's up-to-date check. On success we can delete that file.