[New custom build] Implement platform-specific dependencies#735
[New custom build] Implement platform-specific dependencies#735tomaka wants to merge 3 commits intorust-lang:masterfrom
Conversation
src/cargo/core/resolver.rs
Outdated
There was a problem hiding this comment.
This is actually called pretty frequently due to the recursive nature of resolve, and I think this could get away with the more cheap Option<&'a str>, would that be possible?
de65c36 to
b79c99f
Compare
|
Updated |
b79c99f to
b194050
Compare
|
Oops, I forgot to remove the call to |
b194050 to
075832e
Compare
|
Updated |
src/cargo/core/resolver.rs
Outdated
There was a problem hiding this comment.
It's probably ok to omit the ref + clone() here (as well as below)
|
Looks fantastic, thanks @tomaka! I'll hold off on this pending the resolution of rust-lang/rfcs#403. |
77ebc37 to
a3c5b06
Compare
a3c5b06 to
1549b5c
Compare
|
BTW: I added a location in which we'll need to upload this information to the registry, you'll just need to fill it out: https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/registry.rs#L75 |
1549b5c to
58cc1e0
Compare
58cc1e0 to
f16291d
Compare
Done |
|
Ah I knew I forgot one other location! https://github.com/rust-lang/cargo/blob/master/src/cargo/sources/registry.rs#L420 (I can fix this up after merging as well, which can hopefully happen today!) |
|
I fixed it too |
|
Thanks @tomaka! |
|
RFC was approved this afternoon, let's see what bors thinks of this! |
cc #610