Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.2] Backports #4187

Merged
merged 13 commits into from
Dec 9, 2024
Merged

[0.2] Backports #4187

merged 13 commits into from
Dec 9, 2024

Conversation

asomers and others added 5 commits December 9, 2024 07:04
They aren't stable across OS versions, and they don't have any
legitimate use in applications.
We have a handful of jobs that could benefit from reusing the target
directory. Make use of Swatinem/rust-cache to do so.

Something still isn't quite right since the largest job only seems to
be restoring a portion of the cache, but this still shows an improvement
for most jobs.

(backport <rust-lang#4178>)
(cherry picked from commit af7e126)
This lint was recently added so this change is needed to fix CI. The
suggested alternative is to use `ptr::fn_addr_eq` which isn't available
until 1.85, so allow the lint here.

(backport <rust-lang#4177>)
(cherry picked from commit 99f4dd9)
(backport <rust-lang#4179>)
(cherry picked from commit cde5e54)
@rustbot
Copy link
Collaborator

rustbot commented Dec 9, 2024

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

sunshowers and others added 5 commits December 9, 2024 07:10
Add these functions, similar to the Linux ones. Also add tests.

For illumos, the source code is at [1] and documentation is at [2]. Blame
suggests that Solaris also supports the same calls.

[1]: https://github.com/illumos/illumos-gate/blame/27ecbff00d8c86a2647d6fe325cacb220d712115/usr/src/uts/common/sys/iso/signal_iso.h#L100-L101
[2]: https://illumos.org/man/3HEAD/signal.h

(backport <rust-lang#4171>)
(cherry picked from commit a8aaadf)
`PF_BLOCK_TS` and `PF_SUSPEND_TASK`.

They are also added to the tests. Interestingly, `PF_SUSPEND_TASK` is
already there somewhere in the build script 🤔

Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>

(backport <rust-lang#4174>)
(cherry picked from commit 6934e52)
Taken from <https://github.com/torvalds/linux/blob/2ba9f676d0a2e408aef14d679984c26373bf37b7/include/linux/sched.h#L1661\>.

Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>

(backport <rust-lang#4174>)
(cherry picked from commit 9a38ea3)
They didn't seem to already exist, so add them. The new ones are included.

Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>

(backport <rust-lang#4174>)
(cherry picked from commit 5997f35)
@rustbot
Copy link
Collaborator

rustbot commented Dec 9, 2024

Some changes occurred in solarish module

cc @jclulow, @pfmooney

@rustbot rustbot added the O-gnu label Dec 9, 2024
@tgross35 tgross35 enabled auto-merge December 9, 2024 07:18
(backport <rust-lang#4176>)
(cherry picked from commit 6faa521)

[ resolve conflicts and update based on some main vs. 0.2 differences -
  Trevor ]
@rustbot
Copy link
Collaborator

rustbot commented Dec 9, 2024

Some changes occurred in OpenBSD module

cc @semarie

@tgross35 tgross35 mentioned this pull request Dec 9, 2024
@tgross35 tgross35 added this pull request to the merge queue Dec 9, 2024
Merged via the queue into rust-lang:libc-0.2 with commit abe73ab Dec 9, 2024
45 checks passed
@tgross35 tgross35 deleted the backport-romanesco branch December 9, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants