We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df36291 commit 5522e3eCopy full SHA for 5522e3e
src/items/functions.md
@@ -194,9 +194,9 @@ called from other programming languages like C:
194
// Declares a function with the "C" ABI
195
extern "C" fn new_i32() -> i32 { 0 }
196
197
-// Declares a function with the "stdcall" ABI
+// Declares a function with the "vectorcall" ABI
198
# #[cfg(target_arch = "x86_64")]
199
-extern "stdcall" fn new_i32_stdcall() -> i32 { 0 }
+extern "vectorcall" fn new_i32_vectorcall() -> i32 { 0 }
200
```
201
202
Just as with [external block], when the `extern` keyword is used and the `"ABI"`
0 commit comments