Skip to content

Target strings that end in -none (such as aarch64-unknown-none) should not default to -fPIC #1211

Closed
@schultetwin1

Description

@schultetwin1

According to the docs

This [pic] option defaults to false for windows-gnu and bare metal targets and to true for all other targets.

This means the bare metal target aarch64-unknown-none should default to false, but the current logic only looks for -none-, and not -none.

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