Skip to content

Commit 3a283e4

Browse files
committed
Raise minimum supported iOS version to 10.0
Drop the armv7-apple-ios target too because its no longer supported with the hardware iOS 10 requires.
1 parent ec7e160 commit 3a283e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/sys/unix/thread_local_dtor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
4848
// workaround below is to register, via _tlv_atexit, a custom DTOR list once per
4949
// thread. thread_local dtors are pushed to the DTOR list without calling
5050
// _tlv_atexit.
51-
#[cfg(target_os = "macos")]
51+
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos"))]
5252
pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
5353
use crate::cell::Cell;
5454
use crate::mem;

0 commit comments

Comments
 (0)