On Fri, 12 Jun 2020 09:24:11 -0700
Georgy Yakovlev wrote:
> Not sure if --features=default will activate default set and how it
> will react to being passed along.
>
> --no-default-features --features default
> IDK, looks kinda unnatural.
>
> I have a feeling that we'll get more boilerplate if
On 6/12/20 11:59 AM, Luca Barbato wrote:
> On 12/06/2020 18:24, Georgy Yakovlev wrote:
>> On 6/12/20 4:16 AM, Luca Barbato wrote:
>>> On 12/06/2020 11:04, Georgy Yakovlev wrote:
+# cargo_src_configure --no-default-features
>>>
>>> Shall we default in not-defaulting so we can spare some boi
On 12/06/2020 18:24, Georgy Yakovlev wrote:
On 6/12/20 4:16 AM, Luca Barbato wrote:
On 12/06/2020 11:04, Georgy Yakovlev wrote:
+# cargo_src_configure --no-default-features
Shall we default in not-defaulting so we can spare some boilerplate?
I don't think so. Let me explain.
First of al
On 6/12/20 6:03 AM, Kent Fredric wrote:
I've replied privately by mistake, replying to the list again.
> On Fri, 12 Jun 2020 02:04:51 -0700
> Georgy Yakovlev wrote:
>
>> +# cargo_src_configure --no-default-features
>
> Looking at the source, I don't see how this is passed from this command to
On 6/12/20 4:16 AM, Luca Barbato wrote:
> On 12/06/2020 11:04, Georgy Yakovlev wrote:
>> +# cargo_src_configure --no-default-features
>
> Shall we default in not-defaulting so we can spare some boilerplate?
I don't think so. Let me explain.
First of all, this will force to explicitly micro-ma
On Fri, 12 Jun 2020 02:04:51 -0700
Georgy Yakovlev wrote:
> +#cargo_src_configure --no-default-features
Looking at the source, I don't see how this is passed from this command to
anything.
> + # transform array from simple feature list
> + # to multiple cargo args:
> + # --feat
On 12/06/2020 11:04, Georgy Yakovlev wrote:
+# cargo_src_configure --no-default-features
Shall we default in not-defaulting so we can spare some boilerplate?
lu
simple src_configure implementation inspired by cmake.eclass
Closes: https://bugs.gentoo.org/721936
Signed-off-by: Georgy Yakovlev
---
eclass/cargo.eclass | 51 ++---
1 file changed, 44 insertions(+), 7 deletions(-)
diff --git a/eclass/cargo.eclass b/ecl