remove deprecated LazyPath.path union tag

This commit is contained in:
Andrew Kelley
2024-04-11 14:02:47 -07:00
parent 3d1652070a
commit b30ad74908
69 changed files with 175 additions and 223 deletions

View File

@@ -59,7 +59,6 @@ pub fn create(owner: *std.Build, options: Options) *ConfigHeader {
if (options.style.getPath()) |s| default_include_path: {
const sub_path = switch (s) {
.src_path => |sp| sp.sub_path,
.path => |path| path,
.generated, .generated_dirname => break :default_include_path,
.cwd_relative => |sub_path| sub_path,
.dependency => |dependency| dependency.sub_path,