Test basic DWARF generation (#931)
* Add obj generation with debug info * Add simple transform check
This commit is contained in:
@@ -25,12 +25,15 @@
|
||||
)]
|
||||
|
||||
pub mod commands;
|
||||
mod obj;
|
||||
|
||||
use anyhow::{bail, Result};
|
||||
use std::path::PathBuf;
|
||||
use structopt::StructOpt;
|
||||
use wasmtime::{Config, Strategy};
|
||||
|
||||
pub use obj::compile_to_obj;
|
||||
|
||||
fn pick_compilation_strategy(cranelift: bool, lightbeam: bool) -> Result<Strategy> {
|
||||
Ok(match (lightbeam, cranelift) {
|
||||
(true, false) => Strategy::Lightbeam,
|
||||
|
||||
Reference in New Issue
Block a user