rust2rpm/data
Jan Staněk 035e458f0a
Parse features with + in their name
If a crate has a feature with `+` in it's name,
the `%__cargo_feature_from_name` macro fails to correctly parse it.
For example, the `cxxbridge-flags` crate declares (among others)
the `c++20` feature; that is currently parsed as follows:

```lua
> string.match("cxxbridge-flags+c++20-devel", "^.+%+(.+)-devel$")
20
```

The adjusted regex matches the *first* `+` as feature name separator:

```lua
> string.match("cxxbridge-flags+c++20-devel", "^[^+]+%+(.+)-devel$")
c++20
```
2021-02-01 13:56:37 +01:00
..
cargo.attr inspector: Add support for multiple features 2019-12-16 08:02:47 +01:00
macros.cargo Parse features with + in their name 2021-02-01 13:56:37 +01:00
macros.rust Pass --cap-lints=warn to the RUSTFLAGS 2019-12-03 19:11:20 +01:00
macros.rust-srpm Add riscv64 to %rust_arches 2020-08-13 21:24:06 +02:00