Skip to content

Commit a92030a

Browse files
committed
[watchos] fix format
1 parent 29c4c8b commit a92030a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

library/panic_unwind/src/dwarf/eh.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ pub enum EHAction {
4949
Terminate,
5050
}
5151

52-
pub const USING_SJLJ_EXCEPTIONS: bool =
53-
cfg!(all(target_os = "ios", target_arch = "arm"));
52+
pub const USING_SJLJ_EXCEPTIONS: bool = cfg!(all(target_os = "ios", target_arch = "arm"));
5453

5554
pub unsafe fn find_eh_action(lsda: *const u8, context: &EHContext<'_>) -> Result<EHAction, ()> {
5655
if lsda.is_null() {

library/std/src/os/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ pub mod illumos;
129129
pub mod ios;
130130
#[cfg(target_os = "l4re")]
131131
pub mod l4re;
132-
#[cfg(target_os = "watchos")]
133-
pub mod watchos;
134132
#[cfg(target_os = "macos")]
135133
pub mod macos;
136134
#[cfg(target_os = "netbsd")]
@@ -141,11 +139,12 @@ pub mod openbsd;
141139
pub mod redox;
142140
#[cfg(target_os = "solaris")]
143141
pub mod solaris;
144-
145142
#[cfg(target_os = "solid_asp3")]
146143
pub mod solid;
147144
#[cfg(target_os = "vxworks")]
148145
pub mod vxworks;
146+
#[cfg(target_os = "watchos")]
147+
pub mod watchos;
149148

150149
#[cfg(any(unix, target_os = "wasi", doc))]
151150
mod fd;

0 commit comments

Comments
 (0)