Add misc-tests as a submodule dep

This commit is contained in:
Jakub Konka
2019-06-20 09:54:18 +02:00
committed by Dan Gohman
parent 6ca01ce546
commit 982dbab1f2
5 changed files with 44 additions and 29 deletions

View File

@@ -64,7 +64,7 @@ fn preopen_workspace(workspace: String) -> (String, File) {
(".".to_owned(), preopen_dir)
}
pub fn run_wasm<P: AsRef<Path>>(path: P) {
pub fn run_test<P: AsRef<Path>>(path: P) {
let isa_builder = cranelift_native::builder().unwrap_or_else(|_| {
panic!("host machine is not a supported target");
});