We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09af4df commit 55f0b52Copy full SHA for 55f0b52
1 file changed
tests/lit/lit/formats/Cpp2RustTest.py
@@ -17,7 +17,7 @@ def read_rust_version():
17
)
18
with open(toolchain_path, "r") as f:
19
for line in f:
20
- m = re.match(r'set\s*\(\s*RUST_VERSION\s+"([^"]+)', line)
+ m = re.match(r'set\(RUST_STABLE_VERSION\s+"([^"]+)', line)
21
if m:
22
return m.group(1)
23
raise Exception("could not find rust version in " + toolchain_path)
0 commit comments