#![deny(missing_docs)]
#[cfg(target_os = "linux")]
mod embedded {
#[cfg(all(feature = "embedded", target_arch = "x86_64"))]
pub(super) const BINARY: &[u8] = include_bytes!("../assets/linux-x86_64/bwrap");
#[cfg(all(feature = "embedded", target_arch = "x86_64"))]
pub(super) const DIGEST: &str = include_str!("../assets/linux-x86_64/bwrap.sha256");
#[cfg(all(feature = "embedded", target_arch = "aarch64"))]
pub(super) const BINARY: &[u8] = include_bytes!("../assets/linux-aarch64/bwrap");
#[cfg(all(feature = "embedded", target_arch = "aarch64"))]
pub(super) const DIGEST: &str = include_str!("../assets/linux-aarch64/bwrap.sha256");
}
#[cfg(all(target_os = "linux", feature = "embedded"))]
pub fn bundled_bubblewrap() -> &'static [u8] {
embedded::BINARY
}
#[cfg(all(target_os = "linux", feature = "embedded"))]
pub fn bundled_bubblewrap_sha256() -> &'static str {
embedded::DIGEST.trim()
}