about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2019-01-06 11:02:30 +0100
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2019-01-06 11:58:13 +0100
commit1c4823e81c57fce3aa2770e35c70d6d474f9e98b (patch)
treeab56c2b930ab355a57018b1080bedd377acb210e /src/rustllvm/RustWrapper.cpp
parent1e903c3e96dcc484e83624bda2df0da5409c3d49 (diff)
downloadrust-1c4823e81c57fce3aa2770e35c70d6d474f9e98b.tar.gz
rust-1c4823e81c57fce3aa2770e35c70d6d474f9e98b.zip
flock: Use fcntl constants directly from libc crate on Unix targets
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions