@zigc/lib 0.17.0-dev.292 → 0.17.0-dev.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/std/Build/Step.zig +1 -0
- package/std/zig/LibCDirs.zig +13 -7
package/package.json
CHANGED
package/std/Build/Step.zig
CHANGED
|
@@ -981,6 +981,7 @@ pub fn reset(step: *Step, gpa: Allocator) void {
|
|
|
981
981
|
step.result_peak_rss = 0;
|
|
982
982
|
step.result_failed_command = null;
|
|
983
983
|
step.test_results = .{};
|
|
984
|
+
step.clearWatchInputs();
|
|
984
985
|
|
|
985
986
|
step.result_error_bundle.deinit(gpa);
|
|
986
987
|
step.result_error_bundle = std.zig.ErrorBundle.empty;
|
package/std/zig/LibCDirs.zig
CHANGED
|
@@ -132,14 +132,20 @@ fn detectFromInstallation(arena: Allocator, target: *const std.Target, lci: *con
|
|
|
132
132
|
}
|
|
133
133
|
if (target.os.tag == .haiku) {
|
|
134
134
|
const include_dir_path = lci.include_dir.?;
|
|
135
|
-
const os_dir = try std.fs.path.join(arena, &[_][]const u8{ include_dir_path, "os" });
|
|
136
|
-
list.appendAssumeCapacity(os_dir);
|
|
137
|
-
// Errors.h
|
|
138
|
-
const os_support_dir = try std.fs.path.join(arena, &[_][]const u8{ include_dir_path, "os/support" });
|
|
139
|
-
list.appendAssumeCapacity(os_support_dir);
|
|
140
135
|
|
|
141
|
-
const
|
|
142
|
-
|
|
136
|
+
const subdirs = &[_][]const u8{
|
|
137
|
+
"os", "os/app", "os/device", "os/drivers",
|
|
138
|
+
"os/game", "os/interface", "os/kernel", "os/locale",
|
|
139
|
+
"os/mail", "os/media", "os/midi", "os/midi2",
|
|
140
|
+
"os/net", "os/opengl", "os/storage", "os/support",
|
|
141
|
+
"os/translation", "os/add-ons/graphics", "os/add-ons/input_server", "os/add-ons/mail_daemon",
|
|
142
|
+
"os/add-ons/registrar", "os/add-ons/screen_saver", "os/add-ons/tracker", "os/be_apps/NetPositive",
|
|
143
|
+
"os/be_apps/Tracker", "bsd", "glibc", "gnu",
|
|
144
|
+
};
|
|
145
|
+
for (subdirs) |subdir| {
|
|
146
|
+
const path = try std.fs.path.join(arena, &[_][]const u8{ include_dir_path, subdir });
|
|
147
|
+
try list.append(path);
|
|
148
|
+
}
|
|
143
149
|
}
|
|
144
150
|
|
|
145
151
|
var sysroot: ?[]const u8 = null;
|