From 746e86e68342dbadf163329f069fa1a075f5bf22 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 26 Dec 2023 15:03:06 -0800 Subject: [PATCH] Fix prelude search path for Bazel 7 runfiles layout. (#3544) The explorer encoded the old runfiles layout in a string in one place that didn't get updated. This causes our instructions for running the explorer to break. The fix is at least quite simple. Fixes #3540 Fixes #3541 --- explorer/main_bin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorer/main_bin.cpp b/explorer/main_bin.cpp index 722eca8e70b2..54638291271e 100644 --- a/explorer/main_bin.cpp +++ b/explorer/main_bin.cpp @@ -13,5 +13,5 @@ auto main(int argc, char** argv) -> int { argc, argv, static_cast(&static_for_main_addr), // This assumes execution from `bazel-bin/explorer`, either directly or // with `bazel run`. - "explorer.runfiles/carbon/explorer/data/prelude.carbon"); + "explorer.runfiles/_main/explorer/data/prelude.carbon"); }