Minor Cargo.toml questions
⚓ Rust 📅 2026-01-28 👤 surdeus 👁️ 1Minor issues:
-
Is it possible to have Cargo build a Linux target with a name "example.fcgi"? I have to rename after each build. I don't see a way to set the suffix.
-
When generating multple [bin] targets, is there any way to set a
descriptionfor each target?
[[bin]]
name = "uploadterrain" # The name of the target.
path = "src/server/uploadterrain.rs" # The source file of the target.
# description = "This becomes uploadterrain.fcgi and runs on an Apache server under mod_fcgid"
Can't use description there.
I suspect the answer to both is "no".
3 posts - 3 participants
🏷️ Rust_feed