Skip to content

parse-arg dep seems broken, preventing installation #380

@yoshuawuyts

Description

@yoshuawuyts

Running cargo install cargo-component yields the following errors:

error[E0658]: use of unstable library feature `integer_atomics`
   --> /Users/yosh/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parse_arg-1.0.0/src/lib.rs:504:31
    |
504 |             impl ParseArg for std::sync::atomic::$type {
    |                               ^
...
557 | impl_atomic_unsigned! { AtomicU8 => "8", AtomicU16 => "16", AtomicU32 => "32", AtomicU64 => "64", AtomicU128 => "128", AtomicUsize => "ptr" }
    | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: see issue #99069 <https://github.com/rust-lang/rust/issues/99069> for more information
    = note: this error originates in the macro `impl_atomic_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0658]: use of unstable library feature `integer_atomics`
   --> /Users/yosh/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parse_arg-1.0.0/src/lib.rs:512:72
    |
512 |                     const MAX: u128 = max_from_len(std::mem::size_of::<std::sync::atomic::$type>());
    |                                                                        ^
...
557 | impl_atomic_unsigned! { AtomicU8 => "8", AtomicU16 => "16", AtomicU32 => "32", AtomicU64 => "64", AtomicU128 => "128", AtomicUsize => "ptr" }
    | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
    |
    = note: see issue #99069 <https://github.com/rust-lang/rust/issues/99069> for more information
    = note: this error originates in the macro `impl_atomic_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info)

This seems to originate from the upstream parse-args dep, which recently released its 1.0 version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions