mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:34:45 +01:00
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
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user