Currently whenever you compile with -C panic=abort we will omit invoke instructions and the uwtable LLVM function attribute, but we should also set the nounwind attribute. It looks like on ARM this forces the object file to not reference functions that otherwise a function missing the nounwind attribute will not have.
This should help out remove some weird hacks for embedded work!
cc @japaric
Currently whenever you compile with
-C panic=abortwe will omitinvokeinstructions and theuwtableLLVM function attribute, but we should also set thenounwindattribute. It looks like on ARM this forces the object file to not reference functions that otherwise a function missing thenounwindattribute will not have.This should help out remove some weird hacks for embedded work!
cc @japaric