mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
* Upgrade Zig
* Don't add `d` files in github actions
* Revert "Don't add `d` files in github actions"
This reverts commit 446e2dd674.
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
15 lines
371 B
Zig
15 lines
371 B
Zig
const std = @import("std");
|
|
Type: type,
|
|
symbol_name: []const u8,
|
|
local_name: []const u8,
|
|
|
|
Parent: type,
|
|
|
|
pub fn Decl(comptime this: *const @This()) std.builtin.Type.Declaration {
|
|
return comptime std.meta.declarationInfo(this.Parent, this.local_name);
|
|
}
|
|
|
|
pub fn wrappedName(comptime this: *const @This()) []const u8 {
|
|
return comptime "wrap" ++ this.symbol_name;
|
|
}
|