29 Commits
Author SHA1 Message Date
ty f827f6d432 fix(netbsd): use passthrough syntax for RUSTFLAGS in Cross.toml
RUSTFLAGS is not a valid key under target.env; it must be set via the
passthrough array using the "VAR=value" syntax.
2026-07-06 14:33:27 +08:00
ty 788b255e7e fix(netbsd): provide getentropy shim for NetBSD 9 cross-compilation
NetBSD 9 (used by cross-rs's x86_64-unknown-netbsd image) lacks the
getentropy symbol that aws-lc-sys references. getentropy/getrandom were
only added in NetBSD 10.0.

Add a Cross.toml pre-build hook that compiles a small static shim
implementing getentropy via sysctl(CTL_KERN, KERN_ARND) -- the same
mechanism NetBSD 9's own arc4random uses internally. The shim is made
available to the linker through target-specific RUSTFLAGS.
2026-07-06 13:28:54 +08:00
zonyitoo 8407c5138a feat: CentOS based image config (#1941) 2025-05-06 12:46:29 +08:00
zonyitoo 329c8d1ba5 fix: disable x86_64 centos, <stdatomic.h> not supported 2025-05-06 12:32:28 +08:00
zonyitoo ee5aba4e51 fix: disable aarch64 build on centos
- GCC 4.8.2 doesn't support ACLE
- https://github.com/briansmith/ring/issues/1728
2025-05-06 12:17:37 +08:00
zonyitoo 9729f46a68 feat: downgrade prebuilt *-linux-gnu targets' to 2.17, centos (#1941) 2025-05-06 12:01:56 +08:00
zonyitoo b4dd9c2ca2 fix: removed local-fake-dns from full feature set 2025-03-14 00:45:46 +08:00
zonyitoo a5e9247952 chore: cross build update with clang installed 2025-03-14 00:17:08 +08:00
zonyitoo c80d3174f1 feat: passing -Z directly to cross, enables mips-*-musl* targets 2024-11-26 01:51:59 +08:00
zonyitoo 2392cd0d3a feat: re-enable release builds for some mips-* targets
- mips-* targets are moved to Tier-3 rust-lang/compiler-team#648
- cargo nightly provides -Zbuild-std to build libstd while compiling
- cross supports build-std
2024-11-26 01:24:18 +08:00
Justin W Smith 2acbaed13b Support cross build with aws-lc-rs 2024-06-01 10:20:29 +08:00
zonyitoo d586741c8a fix: fixed bindgen running in old base images
chore: windows-gnu cross build working now
2024-05-26 01:50:19 +08:00
zonyitoo ab48626382 fix: cargo index fetch bug
- ref: https://github.com/rust-lang/cargo/issues/10303
2024-05-26 00:44:33 +08:00
zonyitoo 7f908c9dd8 fix: add missing cargo in apt-get 2024-05-26 00:36:43 +08:00
zonyitoo f11484830f fix: pre-build is in [build] section 2024-05-26 00:32:58 +08:00
zonyitoo 7c13e8a913 fix: aws-lc requires bindgen-cli 2024-05-26 00:28:06 +08:00
zonyitoo 6689e05e20 fix: local-dns UDP remote implements AEAD-2022 protocol properly
- Supports UDP control data properly
- fix #1516
2024-04-30 23:50:21 +08:00
zonyitoo a40257c245 fix: aws-lc-rs v1.7.0 supports x86_64-pc-windows-gnu 2024-04-19 02:56:16 +08:00
zonyitoo 9f1f3018cf fix: remove unnecessary deps on aws-lc 2024-04-19 02:13:02 +08:00
zonyitoo e8ea40c25e fix(ssurl): enable rustls only for x86, x86_64, aarch64 targets
ref #1287

Rustls (deps by reqwest) doesn't support all platforms, like MIPS.
2023-09-12 01:00:50 +08:00
zonyitoo e50635ce5f fix(ssurl): remove default dependency of OpenSSL 2023-09-11 23:40:36 +08:00
zonyitoo d7a0f20023 RUSTFLAGS should be passed into cross build container 2022-01-31 14:45:30 +08:00
zonyitoo 81d8b338ad Remove unnecessary customized Dockerfile, RUSTFLAGS is controlled by .cargo/config.toml 2020-11-23 23:36:39 +08:00
zonyitoo 855fae6220 Indirect dependent to shadowsocks_crypto, reformatted 2020-11-21 13:38:02 +08:00
Feng Yu 988e69d4da Add arm-unknown-linux-musleabi release 2020-09-20 00:30:15 +08:00
zonyitoo a198207bcb Docker build tasks separated into multiple steps 2020-08-08 01:41:52 +08:00
Clement Wong a611d6d39d [#243] Support cross compiling for aarch64-unknown-linux-gnu 2020-05-13 23:50:10 +08:00
zonyitoo a50daf2ee5 [#243] Support cross compiling for arm-unknown-linux-gnueabihf 2020-05-10 00:05:48 +08:00
zonyitoo da12a4c56e Build with cross instead 2019-12-08 10:59:36 +08:00