]> git.proxmox.com Git - cargo.git/commitdiff
Reserve the "target" profile name.
authorEric Huss <eric@huss.org>
Fri, 24 Sep 2021 17:04:00 +0000 (10:04 -0700)
committerEric Huss <eric@huss.org>
Fri, 24 Sep 2021 17:04:00 +0000 (10:04 -0700)
Just in case we want to use it later.

src/cargo/util/toml/mod.rs

index cdf84c6dc8e6e7ca015df0ff00e1d86a7fca238c..35d75aea5e4b47b9d40bc7aab7dcf4befe1b0ba9 100644 (file)
@@ -602,6 +602,7 @@ impl TomlProfile {
                 | "rust"
                 | "rustc"
                 | "rustdoc"
+                | "target"
                 | "tmp"
                 | "uninstall"
         ) || lower_name.starts_with("cargo")