1# rust_test's implicit toolchains//:remote_test_execution dep has no 2# prelude-provided no-op stub (unlike toolchains//:test's 3# noop_test_toolchain) — this repo has no RE infra, so this is the smallest 4# thing satisfying RemoteTestExecutionToolchainInfo for a purely local run. 5load("@prelude//tests:remote_test_execution_toolchain.bzl", "RemoteTestExecutionToolchainInfo") 6 7def _impl(_ctx: AnalysisContext) -> list[Provider]: 8 return [ 9 DefaultInfo(), 10 RemoteTestExecutionToolchainInfo( 11 default_profile = None, 12 profiles = {}, 13 default_run_as_bundle = False, 14 ), 15 ] 16 17local_remote_test_execution_toolchain = rule( 18 impl = _impl, 19 attrs = {}, 20 is_toolchain_rule = True, 21)