wasmtime: Add libc as a dependency on FreeBSD in the jit-icache-coherence crate (#5323)

This gets this package to build for `x86_64`, but does not include any
cache clearing for `aarch64-freebsd`. Which will probably build, but not work.

As far as I can tell membarriers are still in the process of being added.
See: https://reviews.freebsd.org/D32360

Since FreeBSD is mirroring the Linux membarrier syscall we may be able
to reuse the same implementation for both Linux and FreeBSD for AArch64.
This commit is contained in:
Afonso Bordado
2022-11-28 01:18:28 +00:00
committed by GitHub
parent 0d27c48221
commit 240ff2b854

View File

@@ -19,5 +19,5 @@ features = [
"Win32_System_Diagnostics_Debug", "Win32_System_Diagnostics_Debug",
] ]
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.libc] [target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd"))'.dependencies.libc]
version = "0.2.42" version = "0.2.42"