about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2022-03-03 00:35:47 +0100
committerThe 8472 <git@infinite-source.de>2022-03-03 00:43:46 +0100
commitaf6d2ed24557694ff7d32bf2a29a6cd5aaade859 (patch)
tree9cf146a1f1d8ca537bb495c852bd045ee7f61943 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentbac5523ea0025988361a092c1f0e7f4eb90f6ad7 (diff)
downloadrust-af6d2ed24557694ff7d32bf2a29a6cd5aaade859.tar.gz
rust-af6d2ed24557694ff7d32bf2a29a6cd5aaade859.zip
hardcode /sys/fs/cgroup instead of doing a lookup via mountinfo
this avoids parsing mountinfo which can be huge on some systems and
something might be emulating cgroup fs for sandboxing reasons which means
it wouldn't show up as mountpoint

additionally the new implementation operates on a single pathbuffer, reducing allocations
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions