Skip to content

Commit

Permalink
Merge pull request #56 from Nadrieril/update-charon
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril authored Aug 14, 2024
2 parents 84e97e6 + 2fcb4fa commit 9966247
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
pkgs.ocamlPackages.ocaml
pkgs.ocamlPackages.ocamlformat
pkgs.ocamlPackages.menhir
# ocaml-lsp's version must match the ocaml version used. Pinning
# this here to save me a headache.
pkgs.ocamlPackages.ocaml-lsp
];
buildInputs = [ charon.buildInputs ];
nativeBuildInputs = [ charon.nativeBuildInputs fstar pkgs.clang ];
Expand Down
2 changes: 1 addition & 1 deletion lib/AstOfLlbc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ let decl_of_id (env : env) (id : C.any_decl_id) : K.decl option =
let env = push_type_binders env type_params in

match kind with
| Opaque -> None
| Opaque | Error _-> None
| Struct fields ->
let fields =
List.map
Expand Down
2 changes: 1 addition & 1 deletion test/partial_eq/stubs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "partial_eq.h"

extern core_result_Result_86
core_fmt__core__fmt__Formatter__a__7__write_str(core_fmt_Formatter *x0, Prims_string x1) {
core_fmt__core__fmt__Formatter__a__9__write_str(core_fmt_Formatter *x0, Prims_string x1) {
return ((core_result_Result_86){ .tag = core_result_Ok, .f0 = NULL });
}

0 comments on commit 9966247

Please sign in to comment.