Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1511821 - cargo doesn't like redefinition of options in cmdline
Summary: cargo doesn't like redefinition of options in cmdline
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rust
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-10 08:47 UTC by Igor Gnatenko
Modified: 2018-08-03 05:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Igor Gnatenko 2017-11-10 08:47:17 UTC
+ /usr/bin/cargo test --release -j8 -j1
error: Invalid arguments.

Usage:
    cargo test [options] [--] [<args>...]

I can't easily remove -j8 because it is part of macro...

Comment 1 Igor Gnatenko 2017-11-10 08:50:05 UTC
actually workaround was quite simple..

export RPM_BUILD_NCPUS=1
%cargo_test

---

Keeping this bug opened because I would expect it to work anyway ;)

Comment 2 Fedora End Of Life 2018-02-20 15:27:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 3 Josh Stone 2018-08-03 05:26:45 UTC
cargo is part of the rust srpm now.


Note You need to log in before you can comment on or make changes to this bug.