aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2021-06-18 10:27:37 +0200
committerVeikka Tuominen <git@vexu.eu>2021-06-20 20:58:10 +0300
commite4225ca5f76760568c632d1f1c455e9d8759dce1 (patch)
treeb40a3d748704ab3b2cbdec34abd6a8ef38fd3f45 /src/codegen
parent6de45c826c39ecd2d39deed20fd426240c496402 (diff)
downloadzig-e4225ca5f76760568c632d1f1c455e9d8759dce1.tar.gz
zig-e4225ca5f76760568c632d1f1c455e9d8759dce1.zip
std: Make copy_file_range checks run at compile-time
* Avoid emitting the copy_file_range symbol at all to prevent link-time errors. * Fix a bug in the check logic, the has_copy_file_range_syscall was set to the wrong value in case of ENOSYS * If link_libc is true don't fall-back to the raw syscall approach, there's no policy about what to do in this case but let's follow what the other impls do. Fixes #9146
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions