diff --git a/api/rust/cargo/lief-build/src/lib.rs b/api/rust/cargo/lief-build/src/lib.rs index b81285a06..2015ac465 100644 --- a/api/rust/cargo/lief-build/src/lib.rs +++ b/api/rust/cargo/lief-build/src/lib.rs @@ -14,7 +14,9 @@ const GIT_VERSION: &str = git_version!( const GH_URL: &str = "https://github.com/lief-project/LIEF/releases/download"; const DEFAULT_S3_URL: &str = "https://lief-rs.s3.fr-par.scw.cloud"; -const SUPPORTED_TARGETS: &[&str; 4] = &[ +const SUPPORTED_TARGETS: &[&str; 6] = &[ + "aarch64-apple-ios", + "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", diff --git a/doc/sphinx/api/rust/index.rst b/doc/sphinx/api/rust/index.rst index e2aa72e86..a5c25db28 100644 --- a/doc/sphinx/api/rust/index.rst +++ b/doc/sphinx/api/rust/index.rst @@ -72,10 +72,14 @@ As of now, the following targets are supported with pre-compilation: +================================+========================================================+ | ``x86_64-unknown-linux-gnu`` | Regular Linux x86-64 (Ubuntu 20.04, Debian 11.5, ...) | +--------------------------------+--------------------------------------------------------+ +| ``aarch64-unknown-linux-gnu`` | Linux aarch64 (Debian 12+) | ++--------------------------------+--------------------------------------------------------+ | ``x86_64-apple-darwin`` | macOS 11+ x86-64 | +--------------------------------+--------------------------------------------------------+ | ``aarch64-apple-darwin`` | macOS 11+ arm64 (Apple Silicon) | +--------------------------------+--------------------------------------------------------+ +| ``aarch64-apple-ios`` | iOS 12+ | ++--------------------------------+--------------------------------------------------------+ | ``x86_64-pc-windows-msvc[MT]`` | Regular Windows x86-64 (static UCRT runtime) | +--------------------------------+--------------------------------------------------------+ | ``x86_64-pc-windows-msvc[MD]`` | Regular Windows x86-64 (dynamic UCRT runtime ``.dll``) |