pub fn compute_cache_key(
source_path: &Path,
source_files: &[PathBuf],
embedded_modules: &[String],
) -> Result<String, String>Expand description
Compute cache key from source + all transitive includes
Algorithm:
- Hash main source file content
- Sort and hash all filesystem includes
- Sort and hash all embedded stdlib modules
- Combine into final SHA-256 hex string