You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Account for 'cfgs' fixups when evaluating conditional dependencies
Summary:
I need this for the `windows-targets` crate. Version 0.53.3 in microsoft/windows-rs#3670 introduced the following conditional dependency:
```lang=toml
[target.'cfg(windows_raw_dylib)'.dependencies]
windows-link = { version = "0.1.3", default-features = false }
```
If a project were to use a fixup like this:
```lang=toml
# fixups/windows-targets/fixups.toml
cfgs = ["windows_raw_dylib"]
```
then Reindeer needs to know that the `windows-link` dependency applies. Previously, the `cfg(…)` predicate in conditional dependencies was only evaluated based on the cfgs of the platform according to reindeer.toml.
Reviewed By: diliop
Differential Revision: D80892198
fbshipit-source-id: a0567e99fb97fd8f3cb3fce21334743aacc75381
0 commit comments