Skip to content

Please add retpoline support. #54637

Closed
Closed
@dancrossnyc

Description

@dancrossnyc

For a project at Google, we need retpoline support. Taylor Cramer suggested I open an issue; my initial search didn't reveal any pre-existing issues that seemed particularly relevant. There was a reddit thread that stalled after identifying some blocking issues (LLD integration, LLVM upgrades, etc) all of which have, I believe, subsequently been addressed. https://www.reddit.com/r/rust/comments/7saomi/status_of_spectre_variant_2_mitigation_in_rust/

As I understand it, the heavy lifting for this is in LLVM and it simply needs to be plumbed through.

Put another way, just as clang provides -mretpoline (https://reviews.llvm.org/D41723), I'm looking for something similar in the Rust toolchain.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions