From 2b9a71298411a8716e042a97667952ad333eb54e Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Thu, 15 Aug 2019 03:45:20 +0200 Subject: [PATCH] Update src/items/functions.md Co-Authored-By: Mazdak Farrokhzad --- src/items/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/functions.md b/src/items/functions.md index fe6f2fedf..29dfa3ac3 100644 --- a/src/items/functions.md +++ b/src/items/functions.md @@ -164,7 +164,7 @@ let fptr: extern "C" fn() -> i32 = new_i32; ``` Functions with an ABI that differs from `"Rust"` do not support -unwinding in the exact same way that Rust does, unwinding past the end +unwinding in the exact same way that Rust does. Therefore, unwinding past the end of functions with such ABIs causes the process to abort. In LLVM, this is implemented by executing an illegal instruction.