| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | # DEPENDENCIES="arbitrary approx bytemuck encase mint rand rkyv serde speedy zerocopy debug-glam-assert" |
| 6 | # remove optional dependencies that require a newer version of rust |
| 7 | DEPENDENCIES="arbitrary approx bytemuck mint rand serde speedy zerocopy debug-glam-assert" |
| 8 | |
| 9 | CARGO='rustup run 1.68.2 cargo' |
| 10 | $CARGO check --features "$DEPENDENCIES" && \ |
| 11 | $CARGO check --features "scalar-math $DEPENDENCIES" && \ |
| 12 | $CARGO check --no-default-features --features "libm scalar-math $DEPENDENCIES" |