Rustfmt
This commit is contained in:
parent
e0b1176ae5
commit
5c601f7316
@ -156,9 +156,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
||||
fn init(&self, sess: &Session) {
|
||||
for cty in sess.opts.crate_types.iter() {
|
||||
match *cty {
|
||||
CrateType::Rlib
|
||||
| CrateType::Dylib
|
||||
| CrateType::Executable => {}
|
||||
CrateType::Rlib | CrateType::Dylib | CrateType::Executable => {}
|
||||
_ => {
|
||||
sess.parse_sess.span_diagnostic.warn(&format!(
|
||||
"LLVM unsupported, so output type {} is not supported",
|
||||
|
Loading…
x
Reference in New Issue
Block a user