Skip to content

Commit 55f0b52

Browse files
committed
edits
1 parent 09af4df commit 55f0b52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/lit/lit/formats/Cpp2RustTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def read_rust_version():
1717
)
1818
with open(toolchain_path, "r") as f:
1919
for line in f:
20-
m = re.match(r'set\s*\(\s*RUST_VERSION\s+"([^"]+)', line)
20+
m = re.match(r'set\(RUST_STABLE_VERSION\s+"([^"]+)', line)
2121
if m:
2222
return m.group(1)
2323
raise Exception("could not find rust version in " + toolchain_path)

0 commit comments

Comments
 (0)