From c066ab566486f2ec20db20c8b451c6b24736334a Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Fri, 20 Jan 2023 10:56:30 +0000 Subject: [PATCH] Mention other ABI options. --- src/unsafe/extern-functions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/unsafe/extern-functions.md b/src/unsafe/extern-functions.md index e3f2f046..bc7f2eb6 100644 --- a/src/unsafe/extern-functions.md +++ b/src/unsafe/extern-functions.md @@ -22,4 +22,7 @@ This is usually only a problem for extern functions which do things with pointer violate Rust's memory model, but in general any C function might have undefined behaviour under any arbitrary circumstances. +The `"C"` in this example is the ABI; +[other ABIs are available too](https://doc.rust-lang.org/reference/items/external-blocks.html). +