cargo-script icon indicating copy to clipboard operation
cargo-script copied to clipboard

Is cache lookup done by path or content?

Open Boscop opened this issue 7 years ago • 0 comments

Will it lookup in cache based on the script file's path or based on the script file's content (hash)?

IOW, when I pass a path of a NamedTempFile with the same content as last time, but at a different path, will it use the cached exe or recompile?

Boscop avatar Apr 25 '18 19:04 Boscop