Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: Makefile: FStar.IO.fst is now FStar.IO.fsti #490

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

mtzguido
Copy link
Member

@mtzguido mtzguido commented Oct 10, 2024

In support of FStarLang/FStar#3549 FStarLang/FStar#3552, which makes FStar.IO an interface which is conceptually more correct.

I don't think this would have many users at the C level and would maybe just remove it from this list... but it is exposed, and has an implementation in krmllib/dist/generic/fstar_io.c.

This is motivated by the new F* build, I'm trying to get some smaller pieces in independent PRs.


Btw I read this comment:

karamel/krmllib/Makefile

Lines 50 to 55 in 8c36120

# Note: not compatible with the OPAM layout until fstar can be queried for the
# location of ulib.
ROOTS = $(wildcard *.fst) $(wildcard *.fsti) $(wildcard ../runtime/*.fst) \
FStar.UInt128.fst FStar.Date.fsti \
FStar.HyperStack.IO.fst FStar.IO.fst FStar.Int.Cast.Full.fst \
FStar.Bytes.fsti FStar.Dyn.fsti LowStar.Printf.fst LowStar.Endianness.fst

I'm not sure I understand it but F* can now be queried for exactly that by fstar.exe --locate_lib.

In support of FStarLang/FStar#3549, which makes
FStar.IO an interface which is conceptually more correct.

I don't think this would have many users at the C level and would
maybe just remove it from this list... but it is exposed, and has an
implementation in krmllib/dist/generic/fstar_io.c.

This is motivated by the new F* build, I'm trying to get some smaller
pieces in independent PRs.
mtzguido added a commit to mtzguido/FStar that referenced this pull request Oct 10, 2024
Same logic as for FStar.All, though this one needs a patch to the
karamel build (FStarLang/karamel#490).
mtzguido added a commit to mtzguido/FStar that referenced this pull request Oct 10, 2024
Same logic as for FStar.All, though this one needs a patch to the
karamel build (FStarLang/karamel#490).
@msprotz
Copy link
Contributor

msprotz commented Oct 10, 2024

Probably a remnant of miTLS, if I had to venture a guess. Now that we no longer support C extraction of miTLS, we could also remove it. Up to you.

@msprotz
Copy link
Contributor

msprotz commented Oct 10, 2024

Feel free to go ahead and merge this in whatever sequence works best for you. Thanks!!

@mtzguido
Copy link
Member Author

Cool, thanks! I'll leave it here for now.

@mtzguido mtzguido merged commit 84f64da into FStarLang:master Oct 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants