Skip to content

What is the process to add a compiler flag? #261

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
nikomatsakis opened this issue Mar 19, 2020 · 2 comments
Closed

What is the process to add a compiler flag? #261

nikomatsakis opened this issue Mar 19, 2020 · 2 comments

Comments

@nikomatsakis
Copy link
Contributor

Consider a PR like rust-lang/rust#69718, which exposes some LLVM feature for attaching cryptographic hashes of the sources. We don't have a documented process for what it takes to add a compiler flag like this. We've done it a few times informally -- I'm thinking of the sanitizer work, for example, and a few other cases (we should get make out a list). Let's write-up a procedure and post it to forge.

@wesleywiser
Copy link
Member

This is documented on the forge under the compiler team procedures https://forge.rust-lang.org/compiler/proposals-and-stabilization.html#compiler-flags

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants