Skip to content

Commit ca4aa06

Browse files
committed
mention ffi-safety
1 parent 16bb4eb commit ca4aa06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

text/3838-scalable-vectors.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ Therefore, there is an additional restriction that these types cannot be used in
267267
the argument or return types of functions unless those functions are annotated
268268
with the relevant target feature.
269269

270+
As scalable vectors will always be passed as immediates, they will therefore
271+
have the same ABI as in C, so should be considered FFI-safe.
272+
270273
### Target features
271274
[target-features]: #target-features
272275

0 commit comments

Comments
 (0)