Allow core:net to be imported with -default-to-panic-allocator.

This commit is contained in:
Jeroen van Rijn
2025-06-17 15:36:17 +02:00
parent f3a52a632c
commit a65ece4426
3 changed files with 34 additions and 27 deletions
+3
View File
@@ -261,6 +261,9 @@ DNS_Configuration :: struct {
resolv_conf: string,
hosts_file: string,
resolv_conf_buf: [128]u8,
hosts_file_buf: [128]u8,
// TODO: Allow loading these up with `reload_configuration()` call or the like,
// so we don't have to do it each call.
name_servers: []Endpoint,