mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-21 16:41:56 +03:00
more cleanup. down to just the @hasDecl builtin
This commit is contained in:
+1
-1
@@ -846,7 +846,7 @@ pub const Target = union(enum) {
|
||||
}
|
||||
|
||||
pub fn oFileExt(self: Target) []const u8 {
|
||||
const abi = switch (self.*) {
|
||||
const abi = switch (self) {
|
||||
Target.Native => builtin.abi,
|
||||
Target.Cross => |t| t.abi,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user