Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9bd569

Browse files
authored
Rollup merge ofrust-lang#126146 - devnexen:signal_fbsd, r=ChrisDenton
std::unix::process adding few specific freebsd signals to be able to id.
2 parentse6c378f +e000ecb commita9bd569

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎std/src/sys/pal/unix/process/process_unix.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,10 @@ fn signal_string(signal: i32) -> &'static str {
10531053
libc::SIGINFO =>" (SIGINFO)",
10541054
#[cfg(target_os ="hurd")]
10551055
libc::SIGLOST =>" (SIGLOST)",
1056+
#[cfg(target_os ="freebsd")]
1057+
libc::SIGTHR =>" (SIGTHR)",
1058+
#[cfg(target_os ="freebsd")]
1059+
libc::SIGLIBRT =>" (SIGLIBRT)",
10561060
_ =>"",
10571061
}
10581062
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp