Skip to content

Parsing of RUSTFLAGS broken in cargo #2618

Closed
@MagaTailor

Description

@MagaTailor
RUSTFLAGS='-C link-args="-s -fPIC"' rustc hello.rs //OK
RUSTFLAGS='-C link-args="-s -fPIC"' cargo build // error: Unrecognized option: 'f'

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