Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo"
version = "0.46.0"
version = "0.46.1"
edition = "2018"
authors = ["Yehuda Katz <[email protected]>",
"Carl Lerche <[email protected]>",
Expand Down
4 changes: 4 additions & 0 deletions src/cargo/core/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@ impl Manifest {
pub fn targets(&self) -> &[Target] {
&self.targets
}
// It is used by cargo-c, please do not remove it
pub fn targets_mut(&mut self) -> &mut [Target] {
&mut self.targets
}
pub fn version(&self) -> &Version {
self.package_id().version()
}
Expand Down