Debian Codegraph @

debian/missing-sources/glam-0.21.3/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 # no_std
14 "libm"
15 "libm scalar-math approx bytemuck mint rand serde debug-glam-assert"
16 )
17
18 rustc --version
19
20 for features in "${FEATURE_SETS[@]}"
21 do
22 :
23 cargo build --tests --no-default-features --features="$features"
24 cargo test --no-default-features --features="$features"
25 done
26
27 RUSTFLAGS='-C target-feature=+fma' cargo check
28
29 cargo check -p glam-no_std