@zigc/lib 0.17.0-dev.292 → 0.17.0-dev.296
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 +15 -6
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,23 @@ 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
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
|
|
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
|
+
}
|
|
140
149
|
|
|
141
150
|
const config_dir = try std.fs.path.join(arena, &[_][]const u8{ include_dir_path, "config" });
|
|
142
|
-
list.
|
|
151
|
+
try list.append(config_dir);
|
|
143
152
|
}
|
|
144
153
|
|
|
145
154
|
var sysroot: ?[]const u8 = null;
|