# rust-psd-reader **Repository Path**: crazybaozi/rust-psd-reader ## Basic Information - **Project Name**: rust-psd-reader - **Description**: rust将psd转成图片数据的lib - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-12 - **Last Updated**: 2024-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 添加 ARM64 目标 rustup target add aarch64-apple-darwin # 编译 cargo build --target aarch64-apple-darwin --release # 添加 x86_64 目标 rustup target add x86_64-apple-darwin # 编译 cargo build --target x86_64-apple-darwin --release # 添加 x86_64-pc-windows-gnu 目标 rustup target add x86_64-pc-windows-gnu # 安装 Mingw-w64 brew install mingw-w64 # 编译 cargo build --target x86_64-pc-windows-gnu --release # 安装 cargo-ndk cargo install cargo-ndk # 编译 ARM64 版 so 文件 cargo ndk -t arm64-v8a build --release # 编译 x86 版 so 文件 cargo ndk -t x86 build --release # 编译 x86_64 版 so 文件 cargo ndk -t x86_64 build --release # MacOS brew install android-ndk export ANDROID_NDK_HOME=$(brew --prefix)/share/android-ndk