]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Build our Rust lib in `dev` profile when `CARGO_USE_DEV` is set 16544/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 25 Nov 2025 15:17:53 +0000 (16:17 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 25 Nov 2025 15:17:53 +0000 (16:17 +0100)
commit8df6056ed4be5f0aee9de0d48a813db03f5d395b
tree809da8fc43d1c9507f683fcb5beca5775ada5a6f
parent8ab081d0beb7892b6763d1bdb2af028eb2a14ed6
dnsdist: Build our Rust lib in `dev` profile when `CARGO_USE_DEV` is set

It is roughly halving the compile time in my tests, and comes
with more checks (see https://doc.rust-lang.org/cargo/reference/profiles.html#dev)
so I find it useful to be able to explicitly request building
using the `dev` profile. The default remains to build in `release`
mode for performance, of course.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-rust-lib/rust/build_dnsdist_rust_library