mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
* Tweak how we handle bun's process initialization * Update panic_handler.zig * Update output.zig * Update __global.zig * Update __global.zig * Delete WindowsSpawnWorkaround, fix tests * Fix bug in Bun.spawn on Linux when O_CLOEXEC is set on stdin stdout or stderr * More errors * tweak * Bounds check * Update install.zig * Update dependency.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Zack Radisic <zack@theradisic.com>
20 lines
558 B
Zig
20 lines
558 B
Zig
const bun = @import("root").bun;
|
|
const string = bun.string;
|
|
const Output = bun.Output;
|
|
const Global = bun.Global;
|
|
const Environment = bun.Environment;
|
|
const strings = bun.strings;
|
|
const MutableString = bun.MutableString;
|
|
const stringZ = bun.stringZ;
|
|
const default_allocator = bun.default_allocator;
|
|
const C = bun.C;
|
|
const std = @import("std");
|
|
const open = @import("../open.zig");
|
|
|
|
pub const DiscordCommand = struct {
|
|
const discord_url = "https://bun.sh/discord";
|
|
pub fn exec(_: std.mem.Allocator) !void {
|
|
open.openURL(discord_url);
|
|
}
|
|
};
|