Rustfmt
This commit is contained in:
parent
e0b1176ae5
commit
5c601f7316
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue