mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
Bug 1646840 - Ensure mach vendor rust
writes out .cargo/config.in with LF newlines on Windows r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80474
This commit is contained in:
parent
65818c219e
commit
eb00073e1a
@ -508,7 +508,7 @@ license file's hash.
|
||||
return dump.strip()
|
||||
|
||||
cargo_config = os.path.join(self.topsrcdir, ".cargo", "config.in")
|
||||
with open(cargo_config, "w") as fh:
|
||||
with open(cargo_config, "w", encoding="utf-8", newline="\n") as fh:
|
||||
fh.write(
|
||||
CARGO_CONFIG_TEMPLATE.format(
|
||||
config=toml_dump(config),
|
||||
|
Loading…
x
Reference in New Issue
Block a user