Closed
Description
I tried this code:
; cat config.toml
# Includes one of the default files in src/bootstrap/defaults
profile = "compiler"
changelog-seen = 2
; ./configure
I expected to see this happen: ./configure notices that I have an existing config.toml and gives a hard error unless I remove it (or automatically backs up the file somewhere).
Instead, this happened: ./configure overwrites the file without warning.
; ./configure
configure: processing command line
configure:
configure: build.configure-args := []
configure:
configure: writing `config.toml` in current directory
configure:
configure: run `python /home/jyn/src/rust2/x.py --help`
; cat config.toml
# Keeps track of the last version of `x.py` used.
# If `changelog-seen` does not match the version that is currently running,
# `x.py` will prompt you to update it and to read the changelog.
# See `src/bootstrap/CHANGELOG.md` for more information.
changelog-seen = 2
[llvm]
[build]
# Arguments passed to the `./configure` script, used during distcheck. You
# probably won't fill this in but rather it's filled in by the `./configure`
# script. Useful for debugging.
configure-args = []
[install]
[rust]
[target.x86_64-unknown-linux-gnu]
[dist]
Meta
HEAD is branched from eb3e9c1.