Commit e4527ff
committed
kbuild: rust-analyzer: support key-value
There are two kinds of configuration options (`cfg`s): names and
key-value pairs. So far, we only needed to support the former for the
`rust-analyzer` target.
Since we are introducing `syn` (and its dependencies) in later patches,
which require passing `feature` `cfg`s, support key-value `cfg`s too in
the `rust-analyzer` target.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>cfgs1 parent a5f77c5 commit e4527ff
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
| 417 | + | |
417 | 418 | | |
418 | 419 | | |
419 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments