Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "hax-lib/core-models"]
path = hax-lib/core-models
url = https://github.com/cryspen/rust-core-models
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ members = [
"rust-engine",
"rust-engine/macros",
]
exclude = ["tests", "rustc-coverage-tests", "rust-engine/tests", "hax-lib/core-models"]
exclude = ["tests", "rustc-coverage-tests", "rust-engine/tests", "hax-lib/core-models", "hax-lib/std"]
default-members = [
"frontend/exporter",
"frontend/exporter/options",
Expand Down
10 changes: 3 additions & 7 deletions engine/backends/fstar/fstar_backend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -829,13 +829,9 @@ struct
| GCType { goal; name } ->
let typ = c_trait_goal span goal in
Some { kind = Tcresolve; ident = F.id name; typ }
| GCProjection { impl = { kind = LocalBound { id }; _ }; assoc_item; typ }
->
let proj =
F.term
@@ F.AST.Project
(F.term @@ F.AST.Var (F.lid [ id ]), pconcrete_ident assoc_item)
in
| GCProjection { impl; assoc_item; typ } ->
let* i = pimpl_expr span impl in
let proj = F.term @@ F.AST.Project (i, pconcrete_ident assoc_item) in
let typ =
F.mk_refined "_" (F.term_of_string "unit") (fun ~x ->
F.term
Expand Down
1 change: 1 addition & 0 deletions hax-lib/core-models
Submodule core-models added at 763267
1 change: 0 additions & 1 deletion hax-lib/core-models/.gitignore

This file was deleted.

Loading
Loading