Skip to content

Commit

Permalink
fix HACL* snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
TWal committed Jan 8, 2025
1 parent d86faf8 commit 238a073
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions hacl-star-snapshot/haclml/FStar_Range.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
open Prims
(* Following FStarLang/FStar#3637 FStar_Range is reserved for plugins *)
(* However it is used by the HACL* snapshot for some reason *)
(* Emulating the minimal interface here *)
type ('a, 'b, 'c) labeled = unit
type range = unit
let mk_range (s:string) (i1:int) (i2:int) (i3:int) (i4:int): range = ()
2 changes: 1 addition & 1 deletion hacl-star-snapshot/haclml/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(public_name mls.haclml)
(wrapped false)
(modes byte native)
(libraries fstar.pluginlib)
(libraries fstar.lib)
(virtual_modules primitives)
(default_implementation primitives_native)
(modules (:standard \ Meta_Interface Lib_Buffer Lib_ByteBuffer Lib_Loops)))
Expand Down

0 comments on commit 238a073

Please sign in to comment.