Cache directory hierarchy (#217)
* Simple module compilation cache * Fix base64 encoding bug * Use warn! everywhere in cache system * Remove unused import * Temporary workaround for long path on Windows * Remove unused import for non-windows builds * Cache directory hierarchy * Fix conditional compilation for debug mode * Minor enhancements
This commit is contained in:
@@ -124,7 +124,7 @@ impl crate::compilation::Compiler for Cranelift {
|
||||
isa: &dyn isa::TargetIsa,
|
||||
generate_debug_info: bool,
|
||||
) -> Result<(Compilation, Relocations, ModuleAddressMap), CompileError> {
|
||||
let cache_entry = ModuleCacheEntry::new(module, isa, generate_debug_info);
|
||||
let cache_entry = ModuleCacheEntry::new(module, isa, "cranelift", generate_debug_info);
|
||||
|
||||
let data = match cache_entry.get_data() {
|
||||
Some(data) => data,
|
||||
|
||||
Reference in New Issue
Block a user