Browse Source
We don't want duplicate ctru-sys crates in the dependency graph. Same for libc. We can patch them here to avoid any issues. Now that we don't have duplicate ctru-sys crates, we can add back the links field. This field is important because it warns us when there are two crates linking to the same library (ex. duplicate ctru-sys crates).pull/40/head
AzureMarker
3 years ago
2 changed files with 9 additions and 0 deletions
@ -1,2 +1,10 @@ |
|||||||
[workspace] |
[workspace] |
||||||
members = ["ctru-rs", "ctru-sys"] |
members = ["ctru-rs", "ctru-sys"] |
||||||
|
|
||||||
|
[patch.crates-io] |
||||||
|
# We have some changes not in the upstream |
||||||
|
libc = { git = "https://github.com/Meziu/libc.git" } |
||||||
|
|
||||||
|
[patch.'https://github.com/Meziu/ctru-rs'] |
||||||
|
# Make sure all dependencies use the local ctru-sys package |
||||||
|
ctru-sys = { path = "ctru-sys" } |
Loading…
Reference in new issue