Skip to content

Commit

Permalink
Fix prelude search path for Bazel 7 runfiles layout. (#3544)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chandlerc committed Dec 26, 2023
1 parent 55d853e commit 746e86e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explorer/main_bin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ auto main(int argc, char** argv) -> int {
argc, argv, static_cast<void*>(&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");
}

0 comments on commit 746e86e

Please sign in to comment.