summaryrefslogtreecommitdiff
path: root/src/Translate.ml
diff options
context:
space:
mode:
authorSon Ho2022-03-03 23:34:19 +0100
committerSon Ho2022-03-03 23:34:19 +0100
commit985401f124ebd6a257b13bb2f5f01378cc5f0ce5 (patch)
treeb3f1cac111293f6baf5651a7a5ec5902e491b5cf /src/Translate.ml
parent85956db556c182f72e53ffcb91d32dd2e21d81f1 (diff)
Change the extension of the serialized files to .llbc
Diffstat (limited to 'src/Translate.ml')
-rw-r--r--src/Translate.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Translate.ml b/src/Translate.ml
index d337f5b8..1a42892d 100644
--- a/src/Translate.ml
+++ b/src/Translate.ml
@@ -602,7 +602,7 @@ let translate_module (filename : string) (dest_dir : string) (config : config)
(* First compute the filename by replacing the extension and converting the
* case (rust module names are snake case) *)
let module_name, extract_filebasename =
- match Filename.chop_suffix_opt ~suffix:".cfim" filename with
+ match Filename.chop_suffix_opt ~suffix:".llbc" filename with
| None ->
(* Note that we already checked the suffix upon opening the file *)
failwith "Unreachable"