From 0ee0386aaae7b9b8a1641e878a8028b3f7592b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Muska=C5=82a?= Date: Thu, 31 Oct 2024 09:28:04 -0700 Subject: [PATCH] escript: drop support for the magic "erlang_test_runner" label Summary: This is not necessary as of D62954867 Reviewed By: IanChilds Differential Revision: D65273613 fbshipit-source-id: 874b3d92eb9408cd4ef63771bb9d70c5d84931c8 --- prelude/erlang/erlang_escript.bzl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/prelude/erlang/erlang_escript.bzl b/prelude/erlang/erlang_escript.bzl index 73791965263de..45603f4010000 100644 --- a/prelude/erlang/erlang_escript.bzl +++ b/prelude/erlang/erlang_escript.bzl @@ -99,10 +99,6 @@ def _bundled_escript_impl(ctx: AnalysisContext, dependencies: ErlAppDependencies fail("multiple artifacts defined for path %s", (artifact.short_path)) artifacts[artifact.short_path] = artifact - # magic tag to make vendored json available to the test binary - if "erlang_test_runner" in ctx.attrs.labels: - artifacts["utility_modules/ebin"] = toolchain.utility_modules - escript_name = _escript_name(ctx) output = ctx.actions.declare_output(escript_name)