about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-11 07:22:40 +0000
committerbors <bors@rust-lang.org>2023-04-11 07:22:40 +0000
commit208a74ca5079d2f605f7dd7cd3864e355c12be22 (patch)
tree5cd9800ab07622cb6e4498c3030147ad7ada1e6c /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent44cf8ef49ad3db5e82f18a89b20e925353389121 (diff)
parentb99c129b74a0ba1eb2307fa6151be81b544a3794 (diff)
downloadrust-208a74ca5079d2f605f7dd7cd3864e355c12be22.tar.gz
rust-208a74ca5079d2f605f7dd7cd3864e355c12be22.zip
Auto merge of #14535 - davidbarsky:davidbarsky/use-parent-folder-for-discovery-cwd, r=Veykril
fix: when running the "discoverProjectCommand", use the Rust file's parent directory instead of the workspace folder

This is a quick fix to allow the `discoverProjectCommand` to run successfully when the user has a workspace that does not, e.g., have a `.buckconfig` defined.

(It's also probably _more correct_ to set the `pwd` of the command to the parent of the Rust file _anyways_ rather than relying on the workspace folders, which may be entirely unrelated.)
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions