mirror of
https://github.com/openharmony/third_party_rust_rustix.git
synced 2026-07-21 02:05:28 -04:00
Fix compilation on armv7-unknown-freebsd (#518)
* Fix compilation on armv7-unknown-freebsd Use `time_t::MAX` to avoid depending on the relationship between `time_t` and `c_long`. * Silence the deprecation warning about `time_t`.
This commit is contained in:
@@ -203,6 +203,7 @@ jobs:
|
||||
- run: cargo check -Z build-std --target mips64-openwrt-linux-musl --all-targets --features=all-apis
|
||||
- run: cargo check -Z build-std --target x86_64-unknown-dragonfly --all-targets --features=all-apis
|
||||
- run: cargo check -Z build-std --target sparc-unknown-linux-gnu --all-targets --features=all-apis
|
||||
- run: cargo check -Z build-std --target armv7-unknown-freebsd --all-targets --features=all-apis
|
||||
# Omit --all-targets on haiku because not all the tests build yet.
|
||||
- run: cargo check -Z build-std --target x86_64-unknown-haiku --features=all-apis
|
||||
# x86_64-uwp-windows-msvc isn't currently working.
|
||||
|
||||
Reference in New Issue
Block a user