We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b92636f commit 9c8544aCopy full SHA for 9c8544a
1 file changed
src/cargo/core/manifest.rs
@@ -431,6 +431,10 @@ impl Manifest {
431
pub fn targets(&self) -> &[Target] {
432
&self.targets
433
}
434
+ // It is used by cargo-c, please do not remove it
435
+ pub fn targets_mut(&mut self) -> &mut [Target] {
436
+ &mut self.targets
437
+ }
438
pub fn version(&self) -> &Version {
439
self.package_id().version()
440
0 commit comments