@jarkko Not sure what you mean...
There are no functions in asm, so no calling conventions for them.
Maybe look at naked function which have recently been stabilized.
@jarkko See this article my colleague Folkert wrote: https://blog.rust-lang.org/2025/07/03/stabilizing-naked-functions/
@jarkko So you want a normal function with the stdcall abi?
Can't you just do:
```rust
extern "stdcall" fn foo() {
// Whatever... (including inline assembly)
}
```
@jarkko Ah, I've finally found the list with all the ABIs: https://doc.rust-lang.org/beta/reference/items/external-blocks.html#abi