compiler-team icon indicating copy to clipboard operation
compiler-team copied to clipboard

What is the process to add a compiler flag?

Open nikomatsakis opened this issue 5 years ago • 1 comments

Consider a PR like https://github.com/rust-lang/rust/pull/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.

nikomatsakis avatar Mar 19 '20 15:03 nikomatsakis

See also https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/proposal.3A.20add.20cryptographic.20hashes.20to.20debuginfo.20.2369718

nikomatsakis avatar Mar 19 '20 15:03 nikomatsakis