aboutsummaryrefslogtreecommitdiff
path: root/core/flags/errors.odin
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-15 01:32:28 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-15 01:32:48 -0400
commit51a013fcf142fd7fcfed370bdbaf9de6db19020e (patch)
tree57287638715c388ee5e4e64def41a54bcb5c9330 /core/flags/errors.odin
parentf28c6c3bbaf3e55c75340125a1244e42c3462385 (diff)
Work around BSD lack of `core:net` support
Diffstat (limited to 'core/flags/errors.odin')
-rw-r--r--core/flags/errors.odin8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/flags/errors.odin b/core/flags/errors.odin
index 1862a7a00..21ea05477 100644
--- a/core/flags/errors.odin
+++ b/core/flags/errors.odin
@@ -1,7 +1,5 @@
package flags
-import "base:runtime"
-import "core:net"
import "core:os"
Parse_Error_Reason :: enum {
@@ -20,12 +18,6 @@ Parse_Error_Reason :: enum {
Unsupported_Type,
}
-Unified_Parse_Error_Reason :: union #shared_nil {
- Parse_Error_Reason,
- runtime.Allocator_Error,
- net.Parse_Endpoint_Error,
-}
-
// Raised during parsing, naturally.
Parse_Error :: struct {
reason: Unified_Parse_Error_Reason,