@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zigc/lib",
3
- "version": "0.17.0-dev.292",
3
+ "version": "0.17.0-dev.296",
4
4
  "description": "Zig standard library and libc headers (shared across all platforms)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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;
@@ -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
- 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);
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.appendAssumeCapacity(config_dir);
151
+ try list.append(config_dir);
143
152
  }
144
153
 
145
154
  var sysroot: ?[]const u8 = null;