diff options
| author | Christopher Berner <me@cberner.com> | 2024-11-12 20:02:47 -0800 |
|---|---|---|
| committer | Christopher Berner <me@cberner.com> | 2024-11-13 06:53:19 -0800 |
| commit | 0df3ef4435beda2711abcb992fae1969398b9a7c (patch) | |
| tree | 1592782c18c431ab334356f8c8a929a775c4b32f /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 81eef2d362a6f03db6f8928f82d94298d31eb81b (diff) | |
| download | rust-0df3ef4435beda2711abcb992fae1969398b9a7c.tar.gz rust-0df3ef4435beda2711abcb992fae1969398b9a7c.zip | |
Fix compilation error on Solaris due to flock usage
PR 130999 added the file_lock feature, but libc does not define flock() for the Solaris platform leading to a compilation error. Additionally, I went through all the Tier 2 platforms and read through their documentation to see whether flock was implemented. This turned up 5 more Unix platforms where flock is not supported, even though it may exist in the libc crate.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
