Skip to content

Should unwind add no_default_flags when target is android and use ndk? #103175

Open
@plusls

Description

@plusls

I discuss it in rust-lang/cc-rs#731 (comment)

I found that in cmake-rs set no_default_flags when use ndk, and I found that in ndk25, flag_if_supported always return false because of it check -luwind use the default flag --target=aarch64-linux-android cause compile failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesO-androidOperating system: AndroidT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions