Skip to content

Commit f48448e

Browse files
committed
fix issue#152482
1 parent f21b4c0 commit f48448e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ def bootstrap(args):
13161316
# Give a hard error if `--config` or `RUST_BOOTSTRAP_CONFIG` are set to a missing path,
13171317
# but not if `bootstrap.toml` hasn't been created.
13181318
if not using_default_path or os.path.exists(toml_path):
1319-
with open(toml_path) as config:
1319+
with open(toml_path, encoding="utf-8") as config:
13201320
config_toml = config.read()
13211321
else:
13221322
config_toml = ""

0 commit comments

Comments
 (0)