| 9832 | } |
| 9833 | |
| 9834 | fn print_usage() { |
| 9835 | eprintln!("usage:"); |
| 9836 | eprintln!(" cargo run -p xtask -- assets check [--strict-local] [--strict-generated]"); |
| 9837 | eprintln!(" cargo run -p xtask -- assets verify-committed"); |
| 9838 | eprintln!(" cargo run -p xtask -- assets audit-upstream [--strict]"); |
| 9839 | eprintln!(" cargo run -p xtask -- assets source-spine [--check-patch-applies]"); |
| 9840 | eprintln!(" cargo run -p xtask -- assets fetch"); |
| 9841 | eprintln!(" cargo run -p xtask --features aot-serializer -- assets build-host"); |
| 9842 | eprintln!(" cargo run -p xtask -- assets download --sha <sha> --target-triple <triple>"); |
| 9843 | eprintln!(" cargo run -p xtask -- assets download --run-id <id> --all-targets"); |
| 9844 | eprintln!( |
| 9845 | " cargo run -p xtask -- assets download --latest-compatible --target-triple <triple>" |
| 9846 | ); |
| 9847 | eprintln!(" cargo run -p xtask -- assets download --release <tag> --target-triple <triple>"); |
| 9848 | eprintln!(" cargo run -p xtask -- assets install-local --target-triple <triple>"); |
| 9849 | eprintln!(" cargo run -p xtask -- assets ci-matrix [--target <all|triple>] [--github-output]"); |
| 9850 | eprintln!(" cargo run -p xtask -- assets ci-artifacts"); |
| 9851 | eprintln!(" cargo run -p xtask -- assets aot-targets"); |
| 9852 | eprintln!(" cargo run -p xtask -- assets internal-packages"); |
| 9853 | eprintln!(" cargo run -p xtask -- assets input-fingerprint --write"); |
| 9854 | eprintln!( |
| 9855 | " cargo run -p xtask -- assets build --profile release-o3 --target-triple <triple> [--execute]" |
| 9856 | ); |
| 9857 | eprintln!(" cargo run -p xtask --features template-runner -- assets template"); |
| 9858 | eprintln!( |
| 9859 | " cargo run -p xtask --features template-runner -- assets release-build --profile release-o3 --target-triple <triple> [--fetch]" |
| 9860 | ); |
| 9861 | eprintln!(" cargo run -p xtask -- assets aot --target-triple <triple>"); |
| 9862 | eprintln!( |
| 9863 | " cargo run -p xtask --features aot-serializer -- assets package [--target-triple <triple>]" |
| 9864 | ); |
| 9865 | eprintln!(" cargo run -p xtask -- assets export-list [--write]"); |
| 9866 | eprintln!(" cargo run -p xtask -- assets smoke"); |
| 9867 | eprintln!(" cargo run -p xtask -- release stage"); |
| 9868 | eprintln!(" cargo run -p xtask -- release package-assets"); |
| 9869 | eprintln!(" cargo run -p xtask -- release dry-run"); |
| 9870 | eprintln!(" cargo run -p xtask -- release publish"); |
| 9871 | eprintln!(" cargo run -p xtask -- extensions discover [--write]"); |
| 9872 | eprintln!(" cargo run -p xtask -- extensions build-plan [--write|--check]"); |
| 9873 | eprintln!(" cargo run -p xtask -- extensions generate"); |
| 9874 | eprintln!(" cargo run -p xtask -- extensions check"); |
| 9875 | eprintln!(" cargo run -p xtask -- package-size --enforce"); |
| 9876 | eprintln!(" cargo run -p xtask -- perf cold [--reset-cache]"); |
| 9877 | eprintln!(" cargo run -p xtask -- perf warm [--iterations N] [--connections N]"); |
| 9878 | eprintln!( |
| 9879 | " cargo run -p xtask -- perf bench [--suite all|rtt|speed] [--mode all|direct|server-sqlx|server-tokio-postgres-simple] [--iterations N] [--scale N]" |
| 9880 | ); |
| 9881 | eprintln!(" cargo run -p xtask -- perf prepared-updates [--rows N] [--skip-native] [--gate]"); |
| 9882 | eprintln!( |
| 9883 | " cargo run -p xtask -- perf native-postgres [--suite all|rtt|speed] [--client tokio-postgres-simple|sqlx]" |
| 9884 | ); |
| 9885 | eprintln!( |
| 9886 | " cargo run -p xtask -- perf pglite-nodefs-sqlx --database-url URL --open-micros N [--suite all|rtt|speed]" |
| 9887 | ); |
| 9888 | eprintln!(" cargo run -p xtask -- perf diagnose-speed-hotspots"); |
| 9889 | eprintln!(" cargo run -p xtask -- perf diagnose-speed-cases [--ids=1,6,12,16]"); |
| 9890 | eprintln!(" cargo run -p xtask -- perf smoke"); |
| 9891 | } |