Merge pull request #4679 from sjackman/os-linux
Warn if os/linux is loaded on generic OS
This commit is contained in:
commit
3e890c11ad
@ -5,6 +5,8 @@ module OS
|
||||
|
||||
::MacOS = self # rubocop:disable Naming/ConstantName
|
||||
|
||||
raise "Loaded OS::Linux on generic OS!" if ENV["HOMEBREW_TEST_GENERIC_OS"]
|
||||
|
||||
def prefer_64_bit?
|
||||
Hardware::CPU.is_64_bit?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user