mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 03:18:53 +00:00
upgrade zig to v0.11.0-dev.3737+9eb008717 (#3374)
* progress
* finish `@memset/@memcpy` update
* Update build.zig
* change `@enumToInt` to `@intFromEnum` and friends
* update zig versions
* it was 1
* add link to issue
* add `compileError` reminder
* fix merge
* format
* upgrade to llvm 16
* Revert "upgrade to llvm 16"
This reverts commit cc930ceb1c.
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
@@ -112,7 +112,7 @@ pub const InitCommand = struct {
|
||||
if (package_json_file) |pkg| {
|
||||
const stat = pkg.stat() catch break :read_package_json;
|
||||
|
||||
if (stat.kind != .File or stat.size == 0) {
|
||||
if (stat.kind != .file or stat.size == 0) {
|
||||
break :read_package_json;
|
||||
}
|
||||
package_json_contents = try MutableString.init(alloc, stat.size);
|
||||
|
||||
Reference in New Issue
Block a user