diff options
| author | The8472 <git@infinite-source.de> | 2020-11-06 23:36:23 +0100 |
|---|---|---|
| committer | The8472 <git@infinite-source.de> | 2020-11-13 22:38:27 +0100 |
| commit | 4854d418a5245b07eca7dbec92a29d18af13a821 (patch) | |
| tree | 0e33ad776b624690bd080cb1ac04a72717ff7d99 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 3dfc377aa12293ace29f9a055f0aeb634d107ed9 (diff) | |
| download | rust-4854d418a5245b07eca7dbec92a29d18af13a821.tar.gz rust-4854d418a5245b07eca7dbec92a29d18af13a821.zip | |
do direct splice syscall and probe availability to get android builds to work
Android builds use feature level 14, the libc wrapper for splice is gated on feature level 21+ so we have to invoke the syscall directly. Additionally the emulator doesn't seem to support it so we also have to add ENOSYS checks.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
