File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -355,13 +355,6 @@ s_no_extra_traits! {
355
355
pub __reserved: [ :: c_char; 256 ] ,
356
356
}
357
357
358
- // FIXME: musl added paddings and adjusted
359
- // layout in 1.2.0 but our CI is still 1.1.24.
360
- // So, I'm leaving some fields as cfg for now.
361
- // ref. https://github.com/bminor/musl/commit/
362
- // 1e7f0fcd7ff2096904fd93a2ee6d12a2392be392
363
- //
364
- // OpenHarmony uses the musl 1.2 layout.
365
358
pub struct utmpx {
366
359
pub ut_type: :: c_short,
367
360
__ut_pad1: :: c_short,
@@ -372,20 +365,13 @@ s_no_extra_traits! {
372
365
pub ut_host: [ :: c_char; 256 ] ,
373
366
pub ut_exit: __exit_status,
374
367
375
- #[ cfg( target_env = "musl" ) ]
376
- pub ut_session: :: c_long,
377
-
378
- #[ cfg( target_env = "ohos" ) ]
379
368
#[ cfg( target_endian = "little" ) ]
380
369
pub ut_session: :: c_int,
381
- #[ cfg( target_env = "ohos" ) ]
382
370
#[ cfg( target_endian = "little" ) ]
383
371
__ut_pad2: :: c_int,
384
372
385
- #[ cfg( target_env = "ohos" ) ]
386
373
#[ cfg( not( target_endian = "little" ) ) ]
387
374
__ut_pad2: :: c_int,
388
- #[ cfg( target_env = "ohos" ) ]
389
375
#[ cfg( not( target_endian = "little" ) ) ]
390
376
pub ut_session: :: c_int,
391
377
You can’t perform that action at this time.
0 commit comments