Skip to content

initial-exec not reduced to less strict hint on unsupported platforms #87821

Open
@Mark-Simulacrum

Description

@Mark-Simulacrum

As discovered in #81334 and "fixed" for the compiler in #85807, -Ztls-model=initial-exec does not work on some platforms. However, it seems like LLVM and/or rustc can automatically detect this on known unsupported platforms and either ignore or reduce the hint as needed.

See #85807 (comment), #85807 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-thread-localsArea: Thread local storage (TLS)requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions