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

adding getentropy/getrandom to dragonflybsd. #3618

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

devnexen
Copy link
Contributor

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Mar 12, 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

Copy link
Contributor

@josephlr josephlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and should help with rust-lang/rust#122356 and rust-lang/rust#121942

Comment on lines 1525 to 1529
// For getrandom()
pub const GRND_NONBLOCK: ::c_uint = 0x0001;
pub const GRND_RANDOM: ::c_uint = 0x0002;
pub const GRND_INSECURE: ::c_uint = 0x0004;

This comment was marked as resolved.

@Thomasdezeeuw
Copy link
Contributor

@devnexen @JohnTitor what is needed to merge this? A quick look at the CI seems to indicate that the failure is not related to this pr?

@JohnTitor JohnTitor added this pull request to the merge queue Apr 29, 2024
Merged via the queue into rust-lang:libc-0.2 with commit 4d836cc Apr 29, 2024
57 checks passed
bors referenced this pull request in rust-lang/cargo May 1, 2024
chore(deps): update compatible

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [annotate-snippets](https://github.com/rust-lang/annotate-snippets-rs) | workspace.dependencies | patch | `0.11.1` -> `0.11.2` |
| [anyhow](https://github.com/dtolnay/anyhow) | workspace.dependencies | patch | `1.0.81` -> `1.0.82` |
| [base64](https://github.com/marshallpierce/rust-base64) | workspace.dependencies | patch | `0.22.0` -> `0.22.1` |
| [color-print](https://gitlab.com/dajoha/color-print) | workspace.dependencies | patch | `0.3.5` -> `0.3.6` |
| [flate2](https://github.com/rust-lang/flate2-rs) | workspace.dependencies | patch | `1.0.28` -> `1.0.30` |
| [indexmap](https://github.com/indexmap-rs/indexmap) | workspace.dependencies | patch | `2` -> `2.2.6` |
| [jobserver](https://github.com/rust-lang/jobserver-rs) | workspace.dependencies | patch | `0.1.28` -> `0.1.31` |
| [libc](https://github.com/rust-lang/libc) | workspace.dependencies | patch | `0.2.153` -> `0.2.154` |
| [pathdiff](https://github.com/Manishearth/pathdiff) | workspace.dependencies | patch | `0.2` -> `0.2.1` |
| [percent-encoding](https://github.com/servo/rust-url) | workspace.dependencies | patch | `2.3` -> `2.3.1` |
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark) | workspace.dependencies | patch | `0.10.2` -> `0.10.3` |
| [serde](https://serde.rs) ([source](https://github.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.197` -> `1.0.199` |
| [serde_json](https://github.com/serde-rs/json) | workspace.dependencies | patch | `1.0.115` -> `1.0.116` |
| [thiserror](https://github.com/dtolnay/thiserror) | workspace.dependencies | patch | `1.0.58` -> `1.0.59` |
| [time](https://time-rs.github.io) ([source](https://github.com/time-rs/time)) | workspace.dependencies | patch | `0.3` -> `0.3.36` |
| [toml_edit](https://github.com/toml-rs/toml) | workspace.dependencies | patch | `0.22.11` -> `0.22.12` |
| [unicode-width](https://github.com/unicode-rs/unicode-width) | workspace.dependencies | patch | `0.1.11` -> `0.1.12` |

---

### Release Notes

<details>
<summary>rust-lang/annotate-snippets-rs (annotate-snippets)</summary>

### [`v0.11.2`](https://github.com/rust-lang/annotate-snippets-rs/blob/HEAD/CHANGELOG.md#0112---2024-04-27)

[Compare Source](https://github.com/rust-lang/annotate-snippets-rs/compare/0.11.1...0.11.2)

##### Added

-   All public types now implement `Debug` [#&#8203;119](https://github.com/rust-lang/annotate-snippets-rs/pull/119)

</details>

<details>
<summary>dtolnay/anyhow (anyhow)</summary>

### [`v1.0.82`](https://github.com/dtolnay/anyhow/releases/tag/1.0.82)

[Compare Source](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82)

-   Documentation improvements

</details>

<details>
<summary>marshallpierce/rust-base64 (base64)</summary>

### [`v0.22.1`](https://github.com/marshallpierce/rust-base64/blob/HEAD/RELEASE-NOTES.md#0221)

[Compare Source](https://github.com/marshallpierce/rust-base64/compare/v0.22.0...v0.22.1)

-   Correct the symbols used for the predefined `alphabet::BIN_HEX`.

</details>

<details>
<summary>dajoha/color-print (color-print)</summary>

### [`v0.3.6`](https://gitlab.com/dajoha/color-print/compare/v0.3.5...v0.3.6)

[Compare Source](https://gitlab.com/dajoha/color-print/compare/v0.3.5...v0.3.6)

</details>

<details>
<summary>rust-lang/flate2-rs (flate2)</summary>

### [`v1.0.30`](https://github.com/rust-lang/flate2-rs/releases/tag/1.0.30): - docs.rs pages should build again

[Compare Source](https://github.com/rust-lang/flate2-rs/compare/1.0.29...1.0.30)

##### What's Changed

-   Fix typos by [`@&#8203;striezel](https://github.com/striezel)` in [https://github.com/rust-lang/flate2-rs/pull/406](https://github.com/rust-lang/flate2-rs/pull/406)
-   Update actions/checkout in GitHub Actions workflows to v4 by [`@&#8203;striezel](https://github.com/striezel)` in [https://github.com/rust-lang/flate2-rs/pull/407](https://github.com/rust-lang/flate2-rs/pull/407)
-   fix CI - `--all-features` wasn't tested and didn't work with arrival of `zlib-rs` by [`@&#8203;Byron](https://github.com/Byron)` in [https://github.com/rust-lang/flate2-rs/pull/405](https://github.com/rust-lang/flate2-rs/pull/405)

##### New Contributors

-   [`@&#8203;striezel](https://github.com/striezel)` made their first contribution in [https://github.com/rust-lang/flate2-rs/pull/406](https://github.com/rust-lang/flate2-rs/pull/406)

**Full Changelog**: rust-lang/flate2-rs@1.0.29...1.0.30

### [`v1.0.29`](https://github.com/rust-lang/flate2-rs/releases/tag/1.0.29): - with new `zlib-rs` feature (~`zlib-ng` in Rust)

[Compare Source](https://github.com/rust-lang/flate2-rs/compare/1.0.28...1.0.29)

With the [new `zlib-rs`](https://github.com/memorysafety/zlib-rs) feature, a new backend is enabled that brings in a SIMD-accelerated Rust implementation.

##### What's Changed

-   Fix build for beta and nightly by [`@&#8203;JakubOnderka](https://github.com/JakubOnderka)` in [https://github.com/rust-lang/flate2-rs/pull/388](https://github.com/rust-lang/flate2-rs/pull/388)
-   Store `StreamWrapper::inner` as a raw pointer by [`@&#8203;icmccorm](https://github.com/icmccorm)` in [https://github.com/rust-lang/flate2-rs/pull/394](https://github.com/rust-lang/flate2-rs/pull/394)
-   Avoid redudant imports by [`@&#8203;Byron](https://github.com/Byron)` in [https://github.com/rust-lang/flate2-rs/pull/398](https://github.com/rust-lang/flate2-rs/pull/398)
-   add `zlib-rs` support via the `libz-rs-sys` C api for `zlib-rs` by [`@&#8203;folkertdev](https://github.com/folkertdev)` in [https://github.com/rust-lang/flate2-rs/pull/400](https://github.com/rust-lang/flate2-rs/pull/400)
-   Add tests to show BufRead can be used after decoding by [`@&#8203;jongiddy](https://github.com/jongiddy)` in [https://github.com/rust-lang/flate2-rs/pull/402](https://github.com/rust-lang/flate2-rs/pull/402)
-   release version 1.0.29: support for zlib-rs by [`@&#8203;folkertdev](https://github.com/folkertdev)` in [https://github.com/rust-lang/flate2-rs/pull/403](https://github.com/rust-lang/flate2-rs/pull/403)

##### New Contributors

-   [`@&#8203;JakubOnderka](https://github.com/JakubOnderka)` made their first contribution in [https://github.com/rust-lang/flate2-rs/pull/388](https://github.com/rust-lang/flate2-rs/pull/388)
-   [`@&#8203;icmccorm](https://github.com/icmccorm)` made their first contribution in [https://github.com/rust-lang/flate2-rs/pull/394](https://github.com/rust-lang/flate2-rs/pull/394)
-   [`@&#8203;folkertdev](https://github.com/folkertdev)` made their first contribution in [https://github.com/rust-lang/flate2-rs/pull/400](https://github.com/rust-lang/flate2-rs/pull/400)

**Full Changelog**: rust-lang/flate2-rs@1.0.28...1.0.29

</details>

<details>
<summary>rust-lang/libc (libc)</summary>

### [`v0.2.154`](https://github.com/rust-lang/libc/releases/tag/0.2.154)

[Compare Source](https://github.com/rust-lang/libc/compare/0.2.153...0.2.154)

#### What's Changed

-   Fix CI on v0.2 by [`@&#8203;JohnTitor](https://github.com/JohnTitor)` in [https://github.com/rust-lang/libc/pull/3589](https://github.com/rust-lang/libc/pull/3589)
-   \[Backport [#&#8203;3547](https://github.com/rust-lang/libc/issues/3547)] Add ioctl FS_IOC\_{G,S}{ETVERSION,ETFLAGS} for CSKY by [`@&#8203;Dirreke](https://github.com/Dirreke)` in [https://github.com/rust-lang/libc/pull/3572](https://github.com/rust-lang/libc/pull/3572)
-   Add Linux riscv64 HWCAP defines (libc-0.2) by [`@&#8203;Xeonacid](https://github.com/Xeonacid)` in [https://github.com/rust-lang/libc/pull/3580](https://github.com/rust-lang/libc/pull/3580)
-   Add missing MIPS R6 FS_IOC_\* definitions by [`@&#8203;chenx97](https://github.com/chenx97)` in [https://github.com/rust-lang/libc/pull/3591](https://github.com/rust-lang/libc/pull/3591)
-   Support posix_spawn on Android by [`@&#8203;pcc](https://github.com/pcc)` in [https://github.com/rust-lang/libc/pull/3602](https://github.com/rust-lang/libc/pull/3602)
-   \[0.2] Fix libc-tests for loongarch64 by [`@&#8203;heiher](https://github.com/heiher)` in [https://github.com/rust-lang/libc/pull/3607](https://github.com/rust-lang/libc/pull/3607)
-   visionOS Support by [`@&#8203;agg23](https://github.com/agg23)` in [https://github.com/rust-lang/libc/pull/3568](https://github.com/rust-lang/libc/pull/3568)
-   \[0.2] linux/musl: Add support for LoongArch64 by [`@&#8203;heiher](https://github.com/heiher)` in [https://github.com/rust-lang/libc/pull/3606](https://github.com/rust-lang/libc/pull/3606)
-   v0.2: Fix c_char on AIX by [`@&#8203;taiki-e](https://github.com/taiki-e)` in [https://github.com/rust-lang/libc/pull/3662](https://github.com/rust-lang/libc/pull/3662)
-   solarish adding SO_EXCLBIND constant. by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3651](https://github.com/rust-lang/libc/pull/3651)
-   \[0.2] Add SIG constants to espidf by [`@&#8203;Tevz-Beskovnik](https://github.com/Tevz-Beskovnik)` in [https://github.com/rust-lang/libc/pull/3658](https://github.com/rust-lang/libc/pull/3658)
-   add all android sysconf constants by [`@&#8203;fkm3](https://github.com/fkm3)` in [https://github.com/rust-lang/libc/pull/3656](https://github.com/rust-lang/libc/pull/3656)
-   feat: more \_PC_XXX constants for apple targets by [`@&#8203;SteveLauC](https://github.com/SteveLauC)` in [https://github.com/rust-lang/libc/pull/3649](https://github.com/rust-lang/libc/pull/3649)
-   feat: O_EXEC/O_SEARCH for apple platforms by [`@&#8203;SteveLauC](https://github.com/SteveLauC)` in [https://github.com/rust-lang/libc/pull/3668](https://github.com/rust-lang/libc/pull/3668)
-   \[0.2] Add constant AT_MINSIGSTKSZ by [`@&#8203;ur4t](https://github.com/ur4t)` in [https://github.com/rust-lang/libc/pull/3637](https://github.com/rust-lang/libc/pull/3637)
-   Haiku: synchronize with post R1-beta 4 changes in libc by [`@&#8203;nielx](https://github.com/nielx)` in [https://github.com/rust-lang/libc/pull/3638](https://github.com/rust-lang/libc/pull/3638)
-   adding getentropy/getrandom to dragonflybsd. by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3618](https://github.com/rust-lang/libc/pull/3618)
-   Move strftime, strftime_l, strptime to linux_like by [`@&#8203;pcc](https://github.com/pcc)` in [https://github.com/rust-lang/libc/pull/3600](https://github.com/rust-lang/libc/pull/3600)
-   update crate version to 0.2.154 by [`@&#8203;Dirreke](https://github.com/Dirreke)` in [https://github.com/rust-lang/libc/pull/3573](https://github.com/rust-lang/libc/pull/3573)

#### New Contributors

-   [`@&#8203;pcc](https://github.com/pcc)` made their first contribution in [https://github.com/rust-lang/libc/pull/3602](https://github.com/rust-lang/libc/pull/3602)
-   [`@&#8203;agg23](https://github.com/agg23)` made their first contribution in [https://github.com/rust-lang/libc/pull/3568](https://github.com/rust-lang/libc/pull/3568)
-   [`@&#8203;Tevz-Beskovnik](https://github.com/Tevz-Beskovnik)` made their first contribution in [https://github.com/rust-lang/libc/pull/3658](https://github.com/rust-lang/libc/pull/3658)
-   [`@&#8203;ur4t](https://github.com/ur4t)` made their first contribution in [https://github.com/rust-lang/libc/pull/3637](https://github.com/rust-lang/libc/pull/3637)

**Full Changelog**: rust-lang/libc@0.2.153...0.2.154

</details>

<details>
<summary>raphlinus/pulldown-cmark (pulldown-cmark)</summary>

### [`v0.10.3`](https://github.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.10.3)

[Compare Source](https://github.com/raphlinus/pulldown-cmark/compare/v0.10.2...v0.10.3)

The main change of this release is the `simd` feature was not being used in the escape functions  since the version 0.10 due to a mistake during the separation of the crate `pulldown-cmark-escape`.

The crate `pulldown-cmark-escape` has been updated to the version 0.10.1.

#### What's Changed

-   fix: fix dead code warning from nightly compiler by [`@&#8203;rhysd](https://github.com/rhysd)` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/876](https://github.com/pulldown-cmark/pulldown-cmark/pull/876)
-   Eat all spaces after line break in link title by [`@&#8203;notriddle](https://github.com/notriddle)` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/877](https://github.com/pulldown-cmark/pulldown-cmark/pull/877)
-   Mark `Rule` as a block item by [`@&#8203;notriddle](https://github.com/notriddle)` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/879](https://github.com/pulldown-cmark/pulldown-cmark/pull/879)

**Full Changelog**: pulldown-cmark/pulldown-cmark@v0.10.2...v0.10.3

</details>

<details>
<summary>serde-rs/serde (serde)</summary>

### [`v1.0.199`](https://github.com/serde-rs/serde/releases/tag/v1.0.199)

[Compare Source](https://github.com/serde-rs/serde/compare/v1.0.198...v1.0.199)

-   Fix ambiguous associated item when `forward_to_deserialize_any!` is used on an enum with `Error` variant ([#&#8203;2732](https://github.com/serde-rs/serde/issues/2732), thanks [`@&#8203;aatifsyed](https://github.com/aatifsyed))`

### [`v1.0.198`](https://github.com/serde-rs/serde/releases/tag/v1.0.198)

[Compare Source](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198)

-   Support serializing and deserializing `Saturating<T>` ([#&#8203;2709](https://github.com/serde-rs/serde/issues/2709), thanks [`@&#8203;jbethune](https://github.com/jbethune))`

</details>

<details>
<summary>serde-rs/json (serde_json)</summary>

### [`v1.0.116`](https://github.com/serde-rs/json/releases/tag/v1.0.116)

[Compare Source](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.116)

-   Make module structure comprehensible to static analysis ([#&#8203;1124](https://github.com/serde-rs/json/issues/1124), thanks [`@&#8203;mleonhard](https://github.com/mleonhard))`

</details>

<details>
<summary>dtolnay/thiserror (thiserror)</summary>

### [`v1.0.59`](https://github.com/dtolnay/thiserror/releases/tag/1.0.59)

[Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59)

-   Unblock testing of rustc `debug-fmt-detail` option ([#&#8203;297](https://github.com/dtolnay/thiserror/issues/297))

</details>

<details>
<summary>time-rs/time (time)</summary>

### [`v0.3.36`](https://github.com/time-rs/time/blob/HEAD/CHANGELOG.md#0336-2024-04-10)

[Compare Source](https://github.com/time-rs/time/compare/v0.3.35...v0.3.36)

##### # Fixed

-   `FormatItem` can be used as part of an import path. See [#&#8203;675] for details.

[#&#8203;675]: https://github.com/time-rs/time/issues/675

### [`v0.3.35`](https://github.com/time-rs/time/blob/HEAD/CHANGELOG.md#0335-2024-04-10)

[Compare Source](https://github.com/time-rs/time/compare/v0.3.34...v0.3.35)

##### Added

-   `Duration::checked_neg`
-   `ext::InstantExt`, which provides methods for using `time::Duration` with `std::time::Instant`

##### Changed

-   `Instant` is deprecated. It is recommended to use `std::time::Instant` directly, importing
    `time::ext::InstantExt` for interoperability with `time::Duration`.
-   `FormatItem` has been renamed to `BorrowedFormatItem`, avoiding confusion with `OwnedFormatItem`.
    An alias has been added for backwards compatibility.

##### Fixed

-   The weekday is optional when parsing RFC2822.
-   The range of sub-second values in `Duration` is documented correctly. The previous documentation
    contained an off-by-one error.
-   Leap seconds are now correctly handled when parsing ISO 8601.

</details>

<details>
<summary>toml-rs/toml (toml_edit)</summary>

### [`v0.22.12`](https://github.com/toml-rs/toml/compare/v0.22.11...v0.22.12)

[Compare Source](https://github.com/toml-rs/toml/compare/v0.22.11...v0.22.12)

</details>

<details>
<summary>unicode-rs/unicode-width (unicode-width)</summary>

### [`v0.1.12`](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12)

[Compare Source](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
leftwo referenced this pull request in oxidecomputer/crucible May 14, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [libc](https://github.com/rust-lang/libc) | workspace.dependencies |
patch | `0.2.153` -> `0.2.154` |

---

### Release Notes

<details>
<summary>rust-lang/libc (libc)</summary>

###
[`v0.2.154`](https://github.com/rust-lang/libc/releases/tag/0.2.154)

[Compare
Source](https://github.com/rust-lang/libc/compare/0.2.153...0.2.154)

#### What's Changed

- Fix CI on v0.2 by [@&#8203;JohnTitor](https://github.com/JohnTitor)
in
[https://github.com/rust-lang/libc/pull/3589](https://github.com/rust-lang/libc/pull/3589)
- \[Backport
[#&#8203;3547](https://github.com/rust-lang/libc/issues/3547)] Add
ioctl FS_IOC\_{G,S}{ETVERSION,ETFLAGS} for CSKY by
[@&#8203;Dirreke](https://github.com/Dirreke) in
[https://github.com/rust-lang/libc/pull/3572](https://github.com/rust-lang/libc/pull/3572)
- Add Linux riscv64 HWCAP defines (libc-0.2) by
[@&#8203;Xeonacid](https://github.com/Xeonacid) in
[https://github.com/rust-lang/libc/pull/3580](https://github.com/rust-lang/libc/pull/3580)
- Add missing MIPS R6 FS_IOC_\* definitions by
[@&#8203;chenx97](https://github.com/chenx97) in
[https://github.com/rust-lang/libc/pull/3591](https://github.com/rust-lang/libc/pull/3591)
- Support posix_spawn on Android by
[@&#8203;pcc](https://github.com/pcc) in
[https://github.com/rust-lang/libc/pull/3602](https://github.com/rust-lang/libc/pull/3602)
- \[0.2] Fix libc-tests for loongarch64 by
[@&#8203;heiher](https://github.com/heiher) in
[https://github.com/rust-lang/libc/pull/3607](https://github.com/rust-lang/libc/pull/3607)
- visionOS Support by [@&#8203;agg23](https://github.com/agg23) in
[https://github.com/rust-lang/libc/pull/3568](https://github.com/rust-lang/libc/pull/3568)
- \[0.2] linux/musl: Add support for LoongArch64 by
[@&#8203;heiher](https://github.com/heiher) in
[https://github.com/rust-lang/libc/pull/3606](https://github.com/rust-lang/libc/pull/3606)
- v0.2: Fix c_char on AIX by
[@&#8203;taiki-e](https://github.com/taiki-e) in
[https://github.com/rust-lang/libc/pull/3662](https://github.com/rust-lang/libc/pull/3662)
- solarish adding SO_EXCLBIND constant. by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3651](https://github.com/rust-lang/libc/pull/3651)
- \[0.2] Add SIG constants to espidf by
[@&#8203;Tevz-Beskovnik](https://github.com/Tevz-Beskovnik) in
[https://github.com/rust-lang/libc/pull/3658](https://github.com/rust-lang/libc/pull/3658)
- add all android sysconf constants by
[@&#8203;fkm3](https://github.com/fkm3) in
[https://github.com/rust-lang/libc/pull/3656](https://github.com/rust-lang/libc/pull/3656)
- feat: more \_PC_XXX constants for apple targets by
[@&#8203;SteveLauC](https://github.com/SteveLauC) in
[https://github.com/rust-lang/libc/pull/3649](https://github.com/rust-lang/libc/pull/3649)
- feat: O_EXEC/O_SEARCH for apple platforms by
[@&#8203;SteveLauC](https://github.com/SteveLauC) in
[https://github.com/rust-lang/libc/pull/3668](https://github.com/rust-lang/libc/pull/3668)
- \[0.2] Add constant AT_MINSIGSTKSZ by
[@&#8203;ur4t](https://github.com/ur4t) in
[https://github.com/rust-lang/libc/pull/3637](https://github.com/rust-lang/libc/pull/3637)
- Haiku: synchronize with post R1-beta 4 changes in libc by
[@&#8203;nielx](https://github.com/nielx) in
[https://github.com/rust-lang/libc/pull/3638](https://github.com/rust-lang/libc/pull/3638)
- adding getentropy/getrandom to dragonflybsd. by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3618](https://github.com/rust-lang/libc/pull/3618)
- Move strftime, strftime_l, strptime to linux_like by
[@&#8203;pcc](https://github.com/pcc) in
[https://github.com/rust-lang/libc/pull/3600](https://github.com/rust-lang/libc/pull/3600)
- update crate version to 0.2.154 by
[@&#8203;Dirreke](https://github.com/Dirreke) in
[https://github.com/rust-lang/libc/pull/3573](https://github.com/rust-lang/libc/pull/3573)

#### New Contributors

- [@&#8203;pcc](https://github.com/pcc) made their first contribution
in
[https://github.com/rust-lang/libc/pull/3602](https://github.com/rust-lang/libc/pull/3602)
- [@&#8203;agg23](https://github.com/agg23) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3568](https://github.com/rust-lang/libc/pull/3568)
- [@&#8203;Tevz-Beskovnik](https://github.com/Tevz-Beskovnik) made
their first contribution in
[https://github.com/rust-lang/libc/pull/3658](https://github.com/rust-lang/libc/pull/3658)
- [@&#8203;ur4t](https://github.com/ur4t) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3637](https://github.com/rust-lang/libc/pull/3637)

**Full Changelog**:
rust-lang/libc@0.2.153...0.2.154

</details>
@tgross35 tgross35 added the main-needs-cherry-pick This PR was merged against libc-0.2 but does not yet exist in main. label Aug 13, 2024
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Aug 17, 2024
(apply <rust-lang#3618> to `main`)
(cherry picked from commit e79e95f)
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Aug 17, 2024
(apply <rust-lang#3618> to `main`)
(cherry picked from commit e79e95f)
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Aug 17, 2024
(apply <rust-lang#3618> to `main`)
(cherry picked from commit e79e95f)
@tgross35 tgross35 added main-applied This PR was merged against libc-0.2 and main has since been updated to include it and removed main-needs-cherry-pick This PR was merged against libc-0.2 but does not yet exist in main. labels Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
main-applied This PR was merged against libc-0.2 and main has since been updated to include it S-waiting-on-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants