1
Fork 0

Mark all extern functions as nounwind

Unwinding across an FFI boundary is undefined behaviour, so we can mark
all external function as nounwind. The obvious exception are those
functions that actually perform the unwinding.
This commit is contained in:
Björn Steinbrink 2015-09-11 20:10:43 +02:00
parent e4e67bd489
commit 3ef75d5774
9 changed files with 33 additions and 0 deletions

View file

@ -243,6 +243,7 @@
#![feature(unique)]
#![feature(unsafe_no_drop_flag, filling_drop)]
#![feature(decode_utf16)]
#![feature(unwind_attributes)]
#![feature(vec_push_all)]
#![feature(vec_resize)]
#![feature(wrapping)]