Skip to content

musl+gcompat error #57

Open
Open
@Conaclos

Description

@Conaclos

Hi! I tried to use a rust crate that relies on pico-args using Alpine Linux (Musl-based distrib) and gcompat (glibc compatibility layer). I got the following error:

Message: removal index (is 0) should be < len (is 0)

at the following line: https://github.com/RazrFalcon/pico-args/blob/master/src/lib.rs#L127

It could be nice to add a defensive check and then removing the path only if it is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions