about summary refs log tree commit diff
path: root/src/librustc_data_structures/flock.rs
AgeCommit message (Collapse)AuthorLines
2019-02-09librustc_data_structures => 2018Taiki Endo-13/+0
2019-01-06flock: Use fcntl constants directly from libc crate on Unix targetsJohn Paul Adrian Glaubitz-41/+5
Since the values for the fcntl constants can vary from architecture to architecture, it is better to use the values defined in the libc crate instead of assigning literals in the flock code which would make the assumption that all architectures use the same values. Fixes #57007
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-06refactor: use shorthand fieldsteresy-1/+1
2018-09-07Fix compiling some rustc crates to wasmAlex Crichton-292/+298
I was dabbling recently seeing what it would take to compile `rustfmt` to the `wasm32-unknown-unknown` target and it turns out not much effort is needed! Currently `rustfmt` depends on a few rustc crates published to crates.io, so this commit touches up those crates to compile for wasm themselves. Notably: * The `rustc_data_structures` crate's `flock` implementation is stubbed out to unconditionally return errors on unsupported platforms. * The `rustc_errors` crate is extended to not do any locking for all non-windows platforms. In both of these cases if we port the compiler to new platforms the functionality isn't critical but will be discovered over time as it comes up, so this hopefully doesn't make it too too hard to compile to new platforms!
2018-08-29Replace usages of 'bad_style' with 'nonstandard_style'.Corey Farwell-1/+1
`bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646
2018-08-09A few cleanups for rustc_data_structuresljedrz-2/+2
2017-05-06Fix definitions of ULONG_PTRJoshua Sheard-2/+2
2017-04-22Haiku: fix initial platform supportJessica Hamilton-0/+1
2017-02-10Allow rustc data structures compile to androidMarco A L Barbosa-1/+1
flock structure is defined in asm*/fcntl.h. This file on android is generated from the linux kernel source, so they are the same.
2016-12-16flock needs repr(C)Austin Hicks-0/+6
2016-09-25Add support for the Haiku operating system on x86 and x86_64 machinesNiels Sascha Reedijk-0/+21
* Hand rebased from Niels original work on 1.9.0
2016-08-29incr.comp.: Move lock files out of directory being lockedMichael Woerister-19/+34
2016-08-29Implement copy-on-write scheme for managing the incremental compilation cache.Michael Woerister-0/+2
2016-08-29Add some features to flock.Michael Woerister-21/+105
2016-08-29Move `flock.rs` from librustdoc to librustc_data_structures.Michael Woerister-0/+237