Skip to content

std.Target: add vita os #24527

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

std.Target: add vita os #24527

wants to merge 2 commits into from

Conversation

vesim987
Copy link
Contributor

No description provided.

@alexrp alexrp self-assigned this Jul 21, 2025
Co-authored-by: Alex Rønne Petersen <[email protected]>
Comment on lines +6353 to +6357
.vita => {
// LLVM doesn't support this target, so we
// have to add this manually
try argv.append("-D__vita__");
},
Copy link
Member

Choose a reason for hiding this comment

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

This should rather go near where we define GLIBC_MINOR and others.

@@ -261,6 +262,7 @@ const targets = [_]std.Target.Query{
.{ .cpu_arch = .thumb, .os_tag = .windows, .abi = .gnu },
.{ .cpu_arch = .thumb, .os_tag = .windows, .abi = .itanium },
.{ .cpu_arch = .thumb, .os_tag = .windows, .abi = .msvc },
.{ .cpu_arch = .thumb, .os_tag = .vita, .abi = .eabihf },
Copy link
Member

Choose a reason for hiding this comment

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

V before W

Comment on lines +70 to 72
.{ .cpu_arch = .arm, .os_tag = .vita, .abi = .eabihf },
// .{ .cpu_arch = .arm, .os_tag = .uefi, .abi = .eabi },
// .{ .cpu_arch = .arm, .os_tag = .uefi, .abi = .eabihf },
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
.{ .cpu_arch = .arm, .os_tag = .vita, .abi = .eabihf },
// .{ .cpu_arch = .arm, .os_tag = .uefi, .abi = .eabi },
// .{ .cpu_arch = .arm, .os_tag = .uefi, .abi = .eabihf },
// .{ .cpu_arch = .arm, .os_tag = .uefi, .abi = .eabi },
// .{ .cpu_arch = .arm, .os_tag = .uefi, .abi = .eabihf },
.{ .cpu_arch = .arm, .os_tag = .vita, .abi = .eabihf },

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