makepad/libs/rapier/vendor/glam/build_all_msrv.sh
2026-03-15 09:52:45 +01:00

12 lines
497 B
Bash
Executable file

#!/bin/sh
set -e
# DEPENDENCIES="arbitrary approx bytemuck encase mint rand rkyv serde speedy zerocopy debug-glam-assert"
# remove optional dependencies that require a newer version of rust
DEPENDENCIES="arbitrary approx bytemuck mint rand serde speedy zerocopy debug-glam-assert"
CARGO='rustup run 1.68.2 cargo'
$CARGO check --features "$DEPENDENCIES" && \
$CARGO check --features "scalar-math $DEPENDENCIES" && \
$CARGO check --no-default-features --features "libm scalar-math $DEPENDENCIES"