We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21b4c0 commit f48448eCopy full SHA for f48448e
src/bootstrap/bootstrap.py
@@ -1316,7 +1316,7 @@ def bootstrap(args):
1316
# Give a hard error if `--config` or `RUST_BOOTSTRAP_CONFIG` are set to a missing path,
1317
# but not if `bootstrap.toml` hasn't been created.
1318
if not using_default_path or os.path.exists(toml_path):
1319
- with open(toml_path) as config:
+ with open(toml_path, encoding="utf-8") as config:
1320
config_toml = config.read()
1321
else:
1322
config_toml = ""
0 commit comments