about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-11-09 19:06:37 +0100
committerGitHub <noreply@github.com>2020-11-09 19:06:37 +0100
commit46bce9f8efbd4c57a23e822588650250d1e74b26 (patch)
treeca4004dfe570829f0a9f2989ab2838c9c2760fd0 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent25f6938da459a57b43bdf16ed6bdad3225b2a3ce (diff)
parent8d43b3cbb91b7327b42b0da721525e7ae2911f0b (diff)
downloadrust-46bce9f8efbd4c57a23e822588650250d1e74b26.tar.gz
rust-46bce9f8efbd4c57a23e822588650250d1e74b26.zip
Rollup merge of #74754 - davidhewitt:cfg-panic, r=ecstatic-morse
Add `#[cfg(panic = '...')]`

This PR adds conditional compilation according to the panic strategy.

I've come across a need for a flag like this a couple of times while writing tests: #74301 , https://github.com/rust-lang/rust/pull/73670#issuecomment-653629031

I'm not sure if I need to add a feature gate for this flag?
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions