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

Binding against Miden procedures from Rust #304

Open
1 of 7 tasks
bitwalker opened this issue Sep 5, 2024 · 0 comments
Open
1 of 7 tasks

Binding against Miden procedures from Rust #304

bitwalker opened this issue Sep 5, 2024 · 0 comments
Labels
codegen feature New feature or request frontend

Comments

@bitwalker
Copy link
Contributor

Currently, the compiler understands how to generate the necessary glue code for the Miden FFI (foreign-function interface). It does so based on having a type signature and a known calling convention/ABI. However, this is currently restricted to a hardcoded whitelist of known Miden Assembly procedures and their corresponding signatures.

We want to remove this manually-maintained list of procedures, and open up the FFI to any procedure implemented in Miden Assembly. However, in order to do so, we need to be able to obtain the signature/calling convention/ABI from metadata, which currently doesn't exist anywhere.

This is a tracking issue for the implementation of this feature

Tasks

  1. 2 of 5
    blocker cargo-miden codegen frontend
    bitwalker
  2. assembly
    bitwalker
@bitwalker bitwalker added feature New feature or request frontend codegen labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen feature New feature or request frontend
Projects
None yet
Development

No branches or pull requests

1 participant