about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorMichael Wright <mikerite@lavabit.com>2018-09-06 07:01:56 +0200
committerMichael Wright <mikerite@lavabit.com>2018-09-06 07:01:56 +0200
commit4f7a260472d1722c8b2bf0771c875e69f3a2bf48 (patch)
tree57763d16a69989c4e5d84c0a69c6ca1cf0f7363d /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parented38d9c79f6c8613f508e024d4aa0d78b8b6e108 (diff)
downloadrust-4f7a260472d1722c8b2bf0771c875e69f3a2bf48.tar.gz
rust-4f7a260472d1722c8b2bf0771c875e69f3a2bf48.zip
driver: Improve check for rustc arg
The rustc arg might not be exactly "rustc". It may be any path to a rustc
executable (especially if the RUSTC environment variable is set when
executing cargo). Rather check that it is a path with 'rustc' file stem.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions