Use nested paths for use declarations (#576)
* Use nested paths for use declarations This commit uses nested paths for cranelift_codegen and some of the standard library use declarations. The main motivation for this is that it seems to be consistent with other use declarations in this file, and saves a few lines. * squash: fix rustfmt issues
This commit is contained in:
committed by
Dan Gohman
parent
ea56118651
commit
0753b1206b
@@ -31,15 +31,11 @@
|
||||
)]
|
||||
|
||||
use anyhow::{bail, Context as _, Result};
|
||||
use cranelift_codegen::settings;
|
||||
use cranelift_codegen::settings::Configurable;
|
||||
use cranelift_codegen::{settings, settings::Configurable};
|
||||
use docopt::Docopt;
|
||||
use serde::Deserialize;
|
||||
use std::collections::HashMap;
|
||||
use std::ffi::OsStr;
|
||||
use std::fs::File;
|
||||
use std::path::{Component, Path};
|
||||
use std::process::exit;
|
||||
use std::{collections::HashMap, ffi::OsStr, fs::File, process::exit};
|
||||
use wasi_common::preopen_dir;
|
||||
use wasmtime_api::{Config, Engine, HostRef, Instance, Module, Store};
|
||||
use wasmtime_cli::pick_compilation_strategy;
|
||||
|
||||
Reference in New Issue
Block a user