Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

build.rs: Build fixes for Centos 7 #278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WowVeryLogin
Copy link

@WowVeryLogin WowVeryLogin commented Jan 18, 2021

Hello. Our team is implementing kernel module on rust for developed device. But we need to support multiple Linux distributions (to be precise: CentOS 7/8, Ubuntu 18/20, Debian 10). The problem is that CentOS 7 has really old kernel version as default that can not be compiled by clang (thus parsed by libclang in bindgen) as is. This patch allows to build Hello-World on CentOS 7 with old kernel.

@WowVeryLogin WowVeryLogin force-pushed the centos7-support branch 9 times, most recently from cafdd01 to 7d47907 Compare January 19, 2021 16:19
@WowVeryLogin WowVeryLogin force-pushed the centos7-support branch 8 times, most recently from 1aad8ea to 0450aab Compare January 25, 2021 17:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant