diff options
| author | Bradley Lewis <22850972+BradLewis@users.noreply.github.com> | 2026-02-10 19:45:30 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-10 19:45:30 +1100 |
| commit | c03e7050673957ecae5bd7f35a386312a7f825a8 (patch) | |
| tree | d4fecf3806cd36199f6cfa7a47d158da4ef5d145 | |
| parent | 3e8434dd66c7cbba28cfa3dd5824b26c2ce70b29 (diff) | |
| parent | 7d3ebdd2c3f73d4531ec366c90bfc7e0c4a895c4 (diff) | |
Merge pull request #1289 from bsdcode/fix_check_bsd
Fix checker diagnostics on BSD
| -rw-r--r-- | src/server/check.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/check.odin b/src/server/check.odin index fed3a3f..e8400d3 100644 --- a/src/server/check.odin +++ b/src/server/check.odin @@ -148,7 +148,7 @@ check :: proc(paths: []string, uri: common.Uri, config: ^common.Config) { entry_point_opt, config.checker_args, "-json-errors", - ODIN_OS == .Linux || ODIN_OS == .Darwin ? "2>&1" : "", + ODIN_OS in runtime.Odin_OS_Types{.Linux, .Darwin, .FreeBSD, .OpenBSD, .NetBSD} ? "2>&1" : "", ), &data, ); !ok { |