File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1521,8 +1521,9 @@ mod prim_ref {}
15211521/// exceptional circumstances. Most Rust code just imports functions via `use`. `#[target_feature]`
15221522/// is also used rarely. So, most likely you do not have to worry about ABI compatibility.
15231523///
1524- /// But assuming such circumstances, what are the rules? For this section, we are specifically
1525- /// concerned with the case where both the caller and the callee are defined in Rust.
1524+ /// But assuming such circumstances, what are the rules? For this section, we are only considering
1525+ /// the ABI of direct Rust-to-Rust calls, not linking in general -- once functions are imported via
1526+ /// `extern` blocks, there are more things to consider that we do not go into here.
15261527///
15271528/// For two signatures to be considered *ABI-compatible*, they must use a compatible ABI string,
15281529/// must take the same number of arguments, the individual argument types and the return types must
You can’t perform that action at this time.
0 commit comments