Use explicit version of cfg-if in msrv build#362
Conversation
|
r? @sfackler |
|
It wasn't worth pinning cfg-if? |
|
I didn't have a lot of success pinning |
|
Ok, looks like that works out just fine! |
|
|
||
| [dependencies] | ||
| cfg-if = "0.1.2" | ||
| cfg-if = "=0.1.9" |
There was a problem hiding this comment.
This will cause issues if log is used in a dependency graph with another crate with a non = dependency on cfg-if. Cargo will iirc just refuse to resolve versions. If we can't just cargo update -p cfg-if --precise 0.1.9 in the MSRV build, it may just be best to bump our MSRV to whatever cfg-if uses.
There was a problem hiding this comment.
Ah right. I’d assumed we’d possibly just end up compiling two versions of cfg-if.
I’ll look again at why the cargo update path didn’t work out for me and fall back to bumping back to 1.31.
|
rustfmt's failing, but r=me otherwise. Realistically, no-one's going to do the downgrade dance with cfg-if anyway... |
Just to try fix up our CI.