Skip to content

Commit

Permalink
Remove a dbg! (#1572)
Browse files Browse the repository at this point in the history
After following the installation step at
https://github.com/cross-rs/cross?tab=readme-ov-file#installation
I see the following output when running the commands:
```
❯ ccrossbuild --target aarch64-unknown-linux-gnu

[src/lib.rs:944:30] workspace_metadata.get("cross") = None
``` 

which looks like a leftover.
  • Loading branch information
Emilgardis authored Oct 10, 2024
2 parents ac4c11c + b50ee7b commit d3e2f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ pub fn toml(metadata: &CargoMetadata, msg_info: &mut MessageInfo) -> Result<Cros
if let Some(workspace_metadata) = &metadata.metadata {
let workspace_metadata =
serde_json::de::from_str::<serde_json::Value>(workspace_metadata.get())?;
if let Some(cross) = dbg!(workspace_metadata.get("cross")) {
if let Some(cross) = workspace_metadata.get("cross") {
found = Some(
metadata
.workspace_root
Expand Down

0 comments on commit d3e2f33

Please sign in to comment.