summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/haskell/private/mode.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/haskell/private/mode.bzl')
-rw-r--r--third_party/bazel/rules_haskell/haskell/private/mode.bzl12
1 files changed, 0 insertions, 12 deletions
diff --git a/third_party/bazel/rules_haskell/haskell/private/mode.bzl b/third_party/bazel/rules_haskell/haskell/private/mode.bzl
deleted file mode 100644
index 8058f09eb536..000000000000
--- a/third_party/bazel/rules_haskell/haskell/private/mode.bzl
+++ /dev/null
@@ -1,12 +0,0 @@
-"""Compilation modes."""
-
-def is_profiling_enabled(hs):
-    """Check whether profiling mode is enabled.
-
-    Args:
-      hs: Haskell context.
-
-    Returns:
-      bool: True if the mode is enabled, False otherwise.
-    """
-    return hs.mode == "dbg"