Skip to content

std.os.linux: A handful of random porting fixes, mostly for armeb and thumbeb #20719

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

Merged
merged 10 commits into from
Jul 24, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Jul 21, 2024

No description provided.

@andrewrk andrewrk enabled auto-merge July 22, 2024 00:45
auto-merge was automatically disabled July 22, 2024 09:42

Head branch was pushed to by a user without write access

@@ -7290,7 +7349,7 @@ pub const AUDIT = struct {
ARMEB = toAudit(.armeb),
CSKY = toAudit(.csky),
HEXAGON = @intFromEnum(std.elf.EM.HEXAGON),
X86 = toAudit(.x86),
LOONGARCH64 = toAudit(.loongarch64),
Copy link
Member Author

@alexrp alexrp Jul 22, 2024

Choose a reason for hiding this comment

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

Just noting that I plan to rewrite these audit bindings in a follow-up PR. There's no sense in doing std.Target.Cpu.Arch -> std.elf.EM here, especially since there is not a 1:1 mapping.

#20743

@alexrp
Copy link
Member Author

alexrp commented Jul 23, 2024

This is properly ready for review now.

@alexrp
Copy link
Member Author

alexrp commented Jul 23, 2024

Rebased after #20725 was merged (tiny conflict in std.os.linux.tls). No functional changes, and CI was green prior in case we want to avoid wasting another full CI run on this.

@andrewrk andrewrk enabled auto-merge July 24, 2024 02:53
@andrewrk andrewrk merged commit 399f4fe into ziglang:master Jul 24, 2024
10 checks passed
@alexrp alexrp deleted the misc-porting branch July 24, 2024 03:05
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