Skip to content

Commit

Permalink
🐧 panic on non-linux environments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaNecron committed Mar 23, 2024
1 parent ffda6db commit 2933088
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package main

import (
Expand Down
7 changes: 7 additions & 0 deletions main_other.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//go:build !linux

package main

func main() {
panic("igloo only works on Linux, other OSes are not supported and never will be, try using WSL (on Windows) or Docker (on MacOS).")
}

0 comments on commit 2933088

Please sign in to comment.