about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-03-03 15:11:01 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-03-03 15:11:01 +0100
commit62aa899e3df026086723773775e704862b710f24 (patch)
treec8d0c7689250308a6324cd5560b75c33d0cb707f /src/libstd/sys/unix/stack_overflow.rs
parent24a840d4897f0853cb034e5a1b51fb28cd450f11 (diff)
downloadrust-62aa899e3df026086723773775e704862b710f24.tar.gz
rust-62aa899e3df026086723773775e704862b710f24.zip
Make build timestamp files robust in face of concurrent source modification.
Strategy: If the end goal is to touch e.g. `stamp.std`, then we first
touch `stamp.std.start_time` before doing anything else.  Then when
the receipe finishes, we touch `stamp.std` using the timestamp from
`stamp.std.start_time` as the reference time, and remove
`stamp.std.start_time`.

Fix #6518.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions