mirror of
https://github.com/openharmony/third_party_rust_linux-raw-sys.git
synced 2026-07-19 21:24:35 -04:00
1b7dfcdda0
* Add tests to ensure that the C type definitions match libc. In no-std mode, we don't depend on libc. But, we still want to be sure that our types match those of libc. This adds a libc dev-dependency and checks that the types are the same in cargo-test. * Use `cargo check --tests` instead of `cargo test`. We only have static-assertion tests, and `cargo check --tests` is enough for those, and doesn't require installing cross-compilers.