diff options
| author | binarycat <binarycat@envs.net> | 2025-06-20 16:17:31 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-06-20 16:17:31 -0500 |
| commit | a759f05a71fa9faf79087f8621865462aa166a48 (patch) | |
| tree | 77377afd407fdb32b14a90449bca05aa43c91be9 | |
| parent | bedc0eaa9d63f4fae716e7f737b50dde2ff2b59d (diff) | |
| download | rust-a759f05a71fa9faf79087f8621865462aa166a48.tar.gz rust-a759f05a71fa9faf79087f8621865462aa166a48.zip | |
configure.py: fix edge case
| -rwxr-xr-x | src/bootstrap/configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py index ce9290620cb..c077555b906 100755 --- a/src/bootstrap/configure.py +++ b/src/bootstrap/configure.py @@ -591,7 +591,7 @@ def parse_example_config(known_args, config): with open(rust_dir + "/bootstrap.example.toml") as example_config: example_lines = example_config.read().split("\n") for line in example_lines: - if line.count("=") == 1 and not line.startswith("# "): + if line.count("=") >= 1 and not line.startswith("# "): key = line.split("=")[0] key = key.strip(" #") parts = key.split(".") |
