Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Oops.. thats the wrong way around..
Browse files Browse the repository at this point in the history
Might fix #4
  • Loading branch information
DianaNites committed Nov 11, 2020
1 parent 3ac6c8d commit 92607a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ fn generate_sysroot_cargo_toml(
}),
patch: Some(Patches {
sources: if let Sysroot::Core = sysroot {
BTreeMap::new()
} else {
let mut sources = BTreeMap::new();
sources.insert("crates-io".into(), {
let mut x = BTreeMap::new();
Expand All @@ -163,8 +165,6 @@ fn generate_sysroot_cargo_toml(
x
});
sources
} else {
BTreeMap::new()
},
}),
profile: {
Expand Down

0 comments on commit 92607a4

Please sign in to comment.