Heap-allocated values in cross-context calls
- Langage dominant
- Rust
- Étoiles
- 115
- Forks
- 84
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 15
Description
After https://github.com/0xMiden/compiler/issues/111
We support scalar values (felt, integers) in function signatures in WIT. To support heap-allocated values (words, structs, etc.) in cross-context calls we need to implement lowering/lifting Wasm CM types for the Miden ABI for `call` op (pointers to stack/advice provider, etc. and back).
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
The issue references implementing lowering/lifting of Wasm CM types for the Miden ABI for the `call` op, specifically for heap-allocated values like words and structs. Start by examining the code around the `call` op and the existing ABI handling for scalar values. Look at the linked issue #111 for context on WIT function signatures. Determine how pointers to stack/advice provider are managed and what changes are needed to support these new types.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust, wasm
- Domaine
- backend, compilers
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100