Debian Codegraph @

debian/missing-sources/glam-0.28.0/build_and_test_features.sh

raw symbols SCIP
1 #!/bin/bash
2
3 set -ex
4
5 # Set of features to build & test.
6 FEATURE_SETS=(
7 # std
8 "std"
9 "std approx bytemuck mint rand serde debug-glam-assert"
10 "std scalar-math approx bytemuck mint rand serde debug-glam-assert"
11 "std cuda"
12 "std scalar-math cuda"
13 "std libm"
14 "std scalar-math libm"
15 # no_std
16 "libm"
17 "libm scalar-math approx bytemuck mint rand serde debug-glam-assert"
18 )
19
20 rustc --version
21
22 for features in "${FEATURE_SETS[@]}"
23 do
24 :
25 cargo build --tests --no-default-features --features="$features"
26 cargo test --no-default-features --features="$features"
27 done
28
29 RUSTFLAGS='-C target-feature=+fma' cargo check
30
31 cargo check -p glam-no_std