From e74b71c3698da4574737a199a66dea8ff4677c0b Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Thu, 12 Aug 2021 14:26:57 -0600 Subject: [PATCH] Prefix collision guard is now obsolete & wrong --- zapp/zapp.bzl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/zapp/zapp.bzl b/zapp/zapp.bzl index 353c895..5ef38aa 100644 --- a/zapp/zapp.bzl +++ b/zapp/zapp.bzl @@ -79,13 +79,6 @@ def _zapp_impl(ctx): ctx.workspace_name ]) - for r0 in import_roots: - for r1 in import_roots: - if r0 == r1: - continue - elif r0.startswith(r1): - fail("Import root conflict between %s and %s" % r0, r1) - # Dealing with main main_py_file = ctx.files.main main_py_ref = ctx.attr.entry_point