https://own-search-and-study.xyz/2020/04/19/rust-windows-linux-cross-compile/ ```yaml - step: script: - apt-get update - apt install -y clang gcc g++ zlib1g-dev libmpc-dev libmpfr-dev libgmp-dev cmake # Building osxcross - git clone https://github.com/tpoechtrager/osxcross - cd osxcross - wget -nc https://s3.dockerproject.org/darwin/v2/MacOSX10.10.sdk.tar.xz - mv MacOSX10.10.sdk.tar.xz tarballs/ - UNATTENDED=yes OSX_VERSION_MIN=10.7 ./build.sh # Configuring Cargo - mkdir .cargo - echo '[target.x86_64-apple-darwin]' >> .cargo/config - echo 'linker = "x86_64-apple-darwin15-gcc"' >> .cargo/config - echo 'ar = "x86_64-apple-darwin15-ar"' >> .cargo/config # Build - rustup target add x86_64-apple-darwin - rustup target list - PATH="$(pwd)/osxcross/target/bin:$PATH" cargo build --release --target x86_64-apple-darwin artifacts: - 'target/x86_64-apple-darwin/release/your-application.exe' ``` ## libsqlite3-sysのエラー ``` error: failed to run custom build command for `libsqlite3-sys v0.20.1` ``` https://github.com/rusqlite/rusqlite/issues/242 [[clang]]が古い??? ==わからん。。==