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

Changes to build with Musl. #283

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Changes to build with Musl. #283

merged 1 commit into from
Dec 7, 2023

Conversation

al45tair
Copy link
Contributor

Added imports of Musl in a few places. Also added definitions for systemStderr and systemStdout.

Motivation:

We would like to be able to build swift-log on top of Musl, as well as the usual Glibc.

Modifications:

Really just adds some import Musls in conditionals, alongside the import Glibcs.

Result:

swift-log will build against Musl.

Added imports of Musl in a few places.  Also added definitions
for `systemStderr` and `systemStdout`.
@yim-lee
Copy link
Member

yim-lee commented Nov 28, 2023

@swift-server-bot add to allowlist

@tomerd tomerd merged commit e97a6fc into apple:main Dec 7, 2023
11 checks passed
@ktoso ktoso added this to the 1.5.4 milestone Jan 22, 2024
cgrindel-self-hosted-renovate bot added a commit to cgrindel/rules_swift_package_manager that referenced this pull request Jan 22, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [apple/swift-log](https://togithub.com/apple/swift-log) | patch |
`from: "1.5.3"` -> `from: "1.5.4"` |

---

### Release Notes

<details>
<summary>apple/swift-log (apple/swift-log)</summary>

### [`v1.5.4`](https://togithub.com/apple/swift-log/releases/tag/1.5.4)

[Compare
Source](https://togithub.com/apple/swift-log/compare/1.5.3...1.5.4)

##### What's Changed

##### Cleanups & minor compatibility improvements

- Don't assume localtime() result is non-nil by
[@&#8203;gwynne](https://togithub.com/gwynne) in
[apple/swift-log#280
- Changes to build with Musl. by
[@&#8203;al45tair](https://togithub.com/al45tair) in
[apple/swift-log#283

##### Non code changes

- Add CocoaLumberjack to list of logging backends by
[@&#8203;ffried](https://togithub.com/ffried) in
[apple/swift-log#276
- update CI script by [@&#8203;tomerd](https://togithub.com/tomerd) in
[apple/swift-log#281
- Update README.md by [@&#8203;0xTim](https://togithub.com/0xTim) in
[apple/swift-log#279

##### New Contributors

- [@&#8203;ffried](https://togithub.com/ffried) made their first
contribution in
[apple/swift-log#276
- [@&#8203;0xTim](https://togithub.com/0xTim) made their first
contribution in
[apple/swift-log#279
- [@&#8203;al45tair](https://togithub.com/al45tair) made their first
contribution in
[apple/swift-log#283

**Full Changelog**:
apple/swift-log@1.5.3...1.5.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants