@@ -105,7 +105,7 @@ pub type _Unwind_Exception_Cleanup_Fn =
105
105
any(
106
106
all(
107
107
feature = "llvm-libunwind" ,
108
- any( target_os = "fuchsia" , target_os = "linux" , target_os = "xous" )
108
+ any( target_os = "fuchsia" , target_os = "linux" , target_os = "hermit" , target_os = " xous")
109
109
) ,
110
110
all( target_os = "windows" , target_env = "gnu" , target_abi = "llvm" )
111
111
) ,
@@ -140,7 +140,7 @@ if #[cfg(any(target_vendor = "apple", target_os = "netbsd", not(target_arch = "a
140
140
pub use _Unwind_Action:: * ;
141
141
142
142
#[ cfg_attr(
143
- all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "xous" ) ) ,
143
+ all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "hermit" , target_os = " xous") ) ,
144
144
link( name = "unwind" , kind = "static" , modifiers = "-bundle" )
145
145
) ]
146
146
extern "C" {
@@ -198,7 +198,7 @@ if #[cfg(any(target_vendor = "apple", target_os = "netbsd", not(target_arch = "a
198
198
pub const UNWIND_IP_REG : c_int = 15 ;
199
199
200
200
#[ cfg_attr(
201
- all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "xous" ) ) ,
201
+ all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "hermit" , target_os = " xous") ) ,
202
202
link( name = "unwind" , kind = "static" , modifiers = "-bundle" )
203
203
) ]
204
204
extern "C" {
@@ -271,14 +271,14 @@ if #[cfg(all(target_vendor = "apple", not(target_os = "watchos"), target_arch =
271
271
pub use _Unwind_SjLj_RaiseException as _Unwind_RaiseException;
272
272
} else {
273
273
#[ cfg_attr(
274
- all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "xous" ) ) ,
274
+ all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "hermit" , target_os = " xous") ) ,
275
275
link( name = "unwind" , kind = "static" , modifiers = "-bundle" )
276
276
) ]
277
277
extern "C-unwind" {
278
278
pub fn _Unwind_RaiseException( exception: * mut _Unwind_Exception) -> _Unwind_Reason_Code;
279
279
}
280
280
#[ cfg_attr(
281
- all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "xous" ) ) ,
281
+ all( feature = "llvm-libunwind" , any( target_os = "fuchsia" , target_os = "linux" , target_os = "hermit" , target_os = " xous") ) ,
282
282
link( name = "unwind" , kind = "static" , modifiers = "-bundle" )
283
283
) ]
284
284
extern "C" {
0 commit comments