Skip to content

std.Target: update default Linux cross-compiling version#17628

Merged
andrewrk merged 1 commit intomasterfrom
update-linux-default-version
Oct 21, 2023
Merged

std.Target: update default Linux cross-compiling version#17628
andrewrk merged 1 commit intomasterfrom
update-linux-default-version

Conversation

@andrewrk
Copy link
Member

Currently, Zig uses the oldest Debian release that is still under LTS for the default version minimum. This is now Debian 10 (Buster), with long-term support until 2024-06-30.

Debian Buster uses Linux 4.19 and glibc 2.28.

For the default version maximum, Zig uses the newest stable Linux version, which is currently 6.5.7.

Citations:

Previous update commit: 1530203

Currently, Zig uses the oldest Debian release that is still under LTS
for the default version minimum. This is now Debian 10 (Buster), with
long-term support until 2024-06-30.

Debian Buster uses Linux 4.19 and glibc 2.28.

For the default version maximum, Zig uses the newest stable Linux
version, which is currently 6.5.7.

Citations:
* https://www.debian.org/News/2019/20190706
* https://packages.debian.org/source/buster/glibc
* https://kernel.org/

Previous update commit: 1530203
@rootbeer
Copy link
Contributor

LGTM. Maybe worth adding the description about how to compute these values ("oldest Debian LTS release", etc) as a comment here?

@andrewrk andrewrk enabled auto-merge (rebase) October 20, 2023 18:23
@andrewrk andrewrk merged commit 0d4d8df into master Oct 21, 2023
@andrewrk andrewrk deleted the update-linux-default-version branch October 21, 2023 00:12
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.

2 participants