Your music, beautifully tracked. All yours. (coming soon) teal.fm
teal-fm atproto

Add CROSS_NO_WARNINGS for cross-compilation

Changed files
+7 -8
.github
workflows
+1
.github/workflows/ci.yml
··· 105 105 rustup target add ${{ matrix.target }} 106 106 # Set up environment for cross-compilation 107 107 echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV 108 + echo "CROSS_NO_WARNINGS=0" >> $GITHUB_ENV 108 109 109 110 - name: Cross-compile services 110 111 run: |
+6 -8
Cross.toml
··· 10 10 image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main" 11 11 12 12 [target.aarch64-unknown-linux-gnu.env] 13 - passthrough = ["CARGO_HOME", "CARGO_TARGET_DIR", "SQLX_OFFLINE"] 14 - # Allow cross-compilation of native dependencies 15 - PKG_CONFIG_ALLOW_CROSS = "1" 16 - # Use static linking to reduce runtime dependencies 17 - RUSTFLAGS = "-C target-feature=+crt-static -C link-arg=-s" 18 - # Disable problematic features that might require OpenSSL 19 - CC_aarch64_unknown_linux_gnu = "aarch64-linux-gnu-gcc" 20 - CXX_aarch64_unknown_linux_gnu = "aarch64-linux-gnu-g++" 13 + passthrough = [ 14 + "CARGO_HOME", 15 + "CARGO_TARGET_DIR", 16 + "SQLX_OFFLINE", 17 + "PKG_CONFIG_ALLOW_CROSS", 18 + ]