1 |
On Fri, 12 Jun 2020 02:04:51 -0700 |
2 |
Georgy Yakovlev <gyakovlev@g.o> wrote: |
3 |
|
4 |
> +# cargo_src_configure --no-default-features |
5 |
|
6 |
Looking at the source, I don't see how this is passed from this command to anything. |
7 |
|
8 |
> + # transform array from simple feature list |
9 |
> + # to multiple cargo args: |
10 |
> + # --features feature1 --features feature2 ... |
11 |
> + readonly ECARGO_FEATURES=( ${myfeatures[@]/#/--features } ) |
12 |
|
13 |
Is this really necessary? |
14 |
|
15 |
> cargo --features "feature1 feature2" |
16 |
|
17 |
is perfectly legal. |