mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-24 09:47:26 -08:00
561139e91f
Fix #77 * Check MSRV in CI * Lower MSRV to 1.71.1 by gating `allow(..., reason = "...")` * Sets all min dependency crate versions needed by riven, via `-Z direct-minimal-versions` * Adds `test-min-deps.bash` script to run `-Z direct-minimal-versions` * Removes underutilized `scan_fmt` dependency, replaces with simple string manipulation code
8 lines
141 B
Bash
8 lines
141 B
Bash
#!/bin/bash
|
|
set -euxo pipefail
|
|
|
|
RUSTFLAGS='-Aunexpected_cfgs'
|
|
cargo update -Z direct-minimal-versions
|
|
cargo build --all-targets
|
|
|
|
./test.bash
|