Remove .pre suffix use .epoch and .fuel instead

This commit is contained in:
Isaac Clayton 2022-07-13 17:08:43 +02:00
parent 3fb1cd0726
commit 562e22814f
3 changed files with 4 additions and 2 deletions

View file

@ -88,7 +88,7 @@ fn precompile(path: &Path, engine: &Engine, engine_name: &str) {
.precompile_module(&bytes)
.expect("Could not precompile module");
let out_path = path.parent().unwrap().join(&format!(
"{}.{}.pre",
"{}.{}",
path.file_name().unwrap().to_string_lossy(),
engine_name,
));