about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-12-07 10:42:52 -0800
committerGitHub <noreply@github.com>2016-12-07 10:42:52 -0800
commitef45ec0a244868f639106998515d2f92ee3df562 (patch)
tree01aec93b3c27f4bac985123bf7b51fc498bb3b8e /src/rustllvm/RustWrapper.cpp
parent4fb89b1d9eef6380e5f187645a3a3752dfd9b754 (diff)
parent614b74c24bb80e17230e58a74ef5a4725972f84a (diff)
downloadrust-ef45ec0a244868f639106998515d2f92ee3df562.tar.gz
rust-ef45ec0a244868f639106998515d2f92ee3df562.zip
Rollup merge of #38225 - Cobrand:patch-1, r=GuillaumeGomez
Update book/ffi to use catch_unwind

r? @GuillaumeGomez

The doc mentioned to spawn a new thread instead of using catch_unwind, which has been the recommended way to catch panics for foreign function interfaces for a few releases now.

This commit fixes that.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions