#[cfg(target_arch = "aarch64")]
pub(crate) use enabled::*;
#[cfg(not(target_arch = "aarch64"))]
pub(crate) use disabled::*;
#[cfg(target_arch = "aarch64")]
mod enabled {
use crate::error::Error;
use crate::Config;
pub(crate) fn build(_config: &Config, _path: &std::path::Path) -> Result<(), Error> {
Err(Error::SnapshotUnsupported)
}
pub(crate) fn resume(_config: &Config, _path: &std::path::Path) -> Result<i32, Error> {
Err(Error::SnapshotUnsupported)
}
}
#[cfg(not(target_arch = "aarch64"))]
mod disabled {
use crate::error::Error;
use crate::Config;
pub(crate) fn build(_config: &Config, _path: &std::path::Path) -> Result<(), Error> {
Err(Error::SnapshotUnsupported)
}
pub(crate) fn resume(_config: &Config, _path: &std::path::Path) -> Result<i32, Error> {
Err(Error::SnapshotUnsupported)
}
}