Repository navigation
3.17.0
·
483 commits
to master
since this release
Enhancements
- The build cache key now covers the build arguments passed after
--; output and report options (--format,--baseline,--write-baseline,--strict,--report-include,--report-exclude,--relative-results) never trigger a new build. Scans with different build arguments no longer share one index store, and existing caches keep their names. The README explains how the cache is keyed and how to reuse an existing build with--skip-build --index-store-path. - New opt-in analysis
--detect-unused-metal-functions(detect_unused_metal_functions): the.metalfiles of the project are read by a lightweight parser, and thekernel,vertex,fragment,[[visible]]and[[stitchable]]functions that no Swift string literal names (makeFunction(name:),MTLFunctionDescriptor.name,MTLFunctionStitchingFunctionNode(name:)) are reported as unused; a literal naming a function that no.metalfile declares is reported asmissingMetalFunction. A name that is not a plain literal retains every Metal function, and a library created at run time (makeLibrary(source:)and the like) disables themissingMetalFunctionresults. Prompted by the upstream discussion peripheryapp/periphery#1119.