| ... | ... | @@ -176,7 +176,7 @@ pub const dynamic_providers = struct { |
| 176 | 176 | }; |
| 177 | 177 | |
| 178 | 178 | pub fn providerById(alloc: std.mem.Allocator, name: string) !?Provider { |
| 179 | | inline for (std.meta.declarations(providers)) |item| { |
| 179 | inline for (comptime std.meta.declarations(providers)) |item| { |
| 180 | 180 | const p = @field(providers, item.name); |
| 181 | 181 | if (std.mem.eql(u8, p.id, name)) { |
| 182 | 182 | return p; |
| ... | ... | @@ -186,7 +186,7 @@ pub fn providerById(alloc: std.mem.Allocator, name: string) !?Provider { |
| 186 | 186 | const p_id = name[0..c_ind]; |
| 187 | 187 | const domain = name[c_ind + 1 ..]; |
| 188 | 188 | const args = .{ .domain = domain }; |
| 189 | | inline for (std.meta.declarations(dynamic_providers)) |item| { |
| 189 | inline for (comptime std.meta.declarations(dynamic_providers)) |item| { |
| 190 | 190 | const didp = @field(dynamic_providers, item.name); |
| 191 | 191 | if (std.mem.eql(u8, didp.id, p_id)) { |
| 192 | 192 | return Provider{ |