build: Initial musl support

Fix all build failures and add musl to the gihub workflows.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2020-04-20 08:07:17 +02:00
committed by Rob Bradford
parent a5de49558e
commit 86fcd19b8a
4 changed files with 32 additions and 11 deletions

View File

@@ -671,7 +671,7 @@ impl VcpuState {
fn signal_thread(&self) {
if let Some(handle) = self.handle.as_ref() {
unsafe {
libc::pthread_kill(handle.as_pthread_t(), SIGRTMIN());
libc::pthread_kill(handle.as_pthread_t() as _, SIGRTMIN());
}
}
}