From 343ecc8fe6a1239785228ec1b8b128249814670a Mon Sep 17 00:00:00 2001 From: Paul Cody Johnston Date: Wed, 26 Oct 2016 07:11:40 -0600 Subject: [PATCH] Hard fail when operating system is unknown. (#31) --- dotnet/csharp.bzl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotnet/csharp.bzl b/dotnet/csharp.bzl index fa5d9fd40f0919..9700bd9d4bd5dc 100644 --- a/dotnet/csharp.bzl +++ b/dotnet/csharp.bzl @@ -553,8 +553,7 @@ def _mono_repository_impl(repository_ctx): elif repository_ctx.os.name.find("mac") != -1: _mono_osx_repository_impl(repository_ctx) else: - #if nothing else works look for a local version of mono - _csharp_autoconf(repository_ctx) + fail("Unsupported operating system: %s" % repository_ctx.os.name) mono_package = repository_rule( implementation = _mono_repository_impl,