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