about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-06-24 20:26:46 +0200
committerGitHub <noreply@github.com>2023-06-24 20:26:46 +0200
commit6b337684ed0ea02840ee4852f9d99d71087544a8 (patch)
treefc8c24ed13fd5797a72a7f239fbf72913c818f43 /compiler/rustc_codegen_gcc/example/example.rs
parent9e0f427e5caf928692738505710c06a03eafb26f (diff)
parentce326918ec0d66b5460ef343553f2e99f3880283 (diff)
downloadrust-6b337684ed0ea02840ee4852f9d99d71087544a8.tar.gz
rust-6b337684ed0ea02840ee4852f9d99d71087544a8.zip
Rollup merge of #113002 - camelid:bootstrap-settings.bak, r=jyn514
bootstrap: Backup `settings.json` to the correct filename

The old code actually replaced `.json` with `.bak` (so, `settings.bak`),
rather than appending `.bak` as claimed (`settings.json.bak`).

`Path::set_extension` can instead be used with dots:

> The new extension may contain dots and will be used in its entirety,
> but only the part after the final dot will be reflected in
> `self.extension`.

r? ``@jyn514``
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions