mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
fix(install): incremental support for windows (#7991)
* update for windows * use correct sizes * mode * fchmod and correct error checking * some progress * walker_skippable.zig for windows * no segfault * comptime only * normalize * create files in .bin * bun.sys.write * string formatters in bun.fmt, diriterator enum * isAllASCII comptime * update more * some cleanup * fix 1 * fix 2 * simlink * cast * remove normalize * to zig err * update fchmod * fixup * fix running bin files * --bun for running binaries * --bun for scripts * remove binary linking * update * remove todo * todos * fix * simlink * cast * more cast
This commit is contained in:
@@ -372,7 +372,7 @@ pub const String = extern struct {
|
||||
return BunString__fromUTF16(bytes.ptr, bytes.len);
|
||||
}
|
||||
|
||||
pub fn createFromOSPath(os_path: bun.OSPathSliceWithoutSentinel) String {
|
||||
pub fn createFromOSPath(os_path: bun.OSPathSlice) String {
|
||||
return switch (@TypeOf(os_path)) {
|
||||
[]const u8 => create(os_path),
|
||||
[]const u16 => createUTF16(os_path),
|
||||
|
||||
Reference in New Issue
Block a user