mirror of
https://github.com/openharmony/third_party_rust_linux-raw-sys.git
synced 2026-07-19 13:17:04 -04:00
181585dc3a
* Do a partial clone of linux This saves a lot of disk space. The git dir for the partial clone after all relevant versions have been checked out is 1.7GB. * Do a sparse checkout of linux This saves a lot of disk space. The git dir for the partial clone after all relevant versions have been checked out is <800MB. * Fix typo * Fix checkout on CI * Add CI * Make generation deterministic Directory iteration order is non-deterministic. In practice it depends on the exact order in which dir entries have been created. Sort the output of fs::read_dir to ensure that generation is deterministic across systems. * Check for linux/.git * Build generator in release mode * Switch to cargo check