about summary refs log tree commit diff
path: root/src/librustc_errors/lock.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-93/+0
2020-01-11use winapi for non-stdlib Windows bindingsAndy Russell-22/+5
2019-12-22Format the worldMark Rousskov-11/+16
2019-06-17Make use of `ptr::null(_mut)` instead of casting zeroLzu Tao-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-09-07Fix compiling some rustc crates to wasmAlex Crichton-1/+1
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-07-14Deny bare trait objects in src/librustc_errorsljedrz-2/+2
Enforce `#![deny(bare_trait_objects)]` in `src/librustc_errors`.
2016-10-18run rustfmt on librustc_errors folderSrinivas Reddy Thatiparthy-6/+9
2016-08-25prevent error message interleaving on win/unixJonathan Turner-0/+112