Add initial support for doing benchmarking and some starting info on how to build the benchmark stuff with poppler debug info

This commit is contained in:
itsjunetime
2024-06-03 22:16:05 -06:00
parent 017596a8b0
commit 7e2d0d3bea
13 changed files with 531 additions and 49 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
RUSTFLAGS="-Cpanic=abort -Ccodegen-units=1 -Cembed-bitcode=yes -Zdylib-lto -Copt-level=s -Zlocation-detail=none -Cstrip=symbols -Ctarget-cpu=native" cargo -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort build --profile production --target "$(rustc +nightly -Z unstable-options --print target-spec-json | jq -r '."llvm-target"')"