pub fn module_gen_key(path: &Path, lint: Option<&str>) -> KeyExpand description
The key for a module’s checked-and-generated form, by the file it is.
A test file is keyed by its spelling (gen_key) because the runner prints that
spelling. A module reached through require is another matter: the test runner meets
it by the path the checker resolved, the linker by the one it resolved, htl build and
include_bundle! from different working directories — and its generated Lua is the
same file’s Lua whichever way it was reached. So the key is the canonical path and the
lint selection, and nothing about the invocation, and the entry is stamped without the
binary (the entry’s stamp): that is what lets htl test, htl build and the macros replay one
another’s entries (#100).