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

Always show foreign dependencies in file-deps, and whether or not they exist on disk #1580

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

qsctr
Copy link
Contributor

@qsctr qsctr commented Oct 10, 2023

Make the :file-deps REPL command and the file_deps remote API call always return the path of a foreign dependency (shared library) when it should exist (i.e. if there are foreign declarations in the module), instead of only if it currently exists. Furthermore, for each foreign dependency return a pair of a string and a boolean, representing the file path and whether or not the file actually currently exists. (In Python the pair is represented as a length-2 list.)

This addresses one part of #1574.

@qsctr qsctr added command-line-repl Related to Cryptol's text-based UI FFI Foreign function interface labels Oct 10, 2023
@qsctr qsctr temporarily deployed to github-pages October 10, 2023 18:35 — with GitHub Actions Inactive
@qsctr qsctr changed the title Always show foreign dependencies in :file-deps, and whether or not they exist on disk Always show foreign dependencies in file-deps, and whether or not they exist on disk Oct 10, 2023
@qsctr qsctr self-assigned this Oct 10, 2023
@qsctr qsctr added the remote-api Related to Cryptol's remote API label Oct 10, 2023
@qsctr qsctr requested review from yav and removed request for yav October 10, 2023 21:59
@qsctr qsctr merged commit 8604e21 into master Oct 10, 2023
43 checks passed
@qsctr qsctr deleted the T1574 branch October 10, 2023 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line-repl Related to Cryptol's text-based UI FFI Foreign function interface remote-api Related to Cryptol's remote API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant