0xMiden / 0xMiden/compiler

Binding against Miden procedures from Rust

Đang mở
#304 0 bình luận 1 reaction 1 người được giao Được @bitwalker nhận Xem trên GitHub
codegen frontend
Ngôn ngữ chính
Rust
Star
115
Fork
84
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
15

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.