Use target triple in cache directory hierarchy (#300)
This commit is contained in:
@@ -231,7 +231,7 @@ impl ModuleCacheEntry {
|
|||||||
);
|
);
|
||||||
Some(
|
Some(
|
||||||
conf::cache_directory()
|
conf::cache_directory()
|
||||||
.join(isa.name())
|
.join(isa.triple().to_string())
|
||||||
.join(compiler_dir)
|
.join(compiler_dir)
|
||||||
.join(mod_filename),
|
.join(mod_filename),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
use core::ptr;
|
use core::ptr;
|
||||||
use core::slice;
|
use core::slice;
|
||||||
use errno;
|
use errno;
|
||||||
|
#[cfg(not(target_os = "windows"))]
|
||||||
use libc;
|
use libc;
|
||||||
use region;
|
use region;
|
||||||
use std::string::{String, ToString};
|
use std::string::{String, ToString};
|
||||||
|
|||||||
Reference in New Issue
Block a user