Improved Compiler API

This commit is contained in:
Syrus
2020-06-22 14:58:58 -07:00
parent 4ed23c59aa
commit 56c2f52001
3 changed files with 7 additions and 12 deletions

View File

@@ -207,11 +207,6 @@ impl CompilerConfig for Cranelift {
fn push_middleware(&mut self, middleware: Arc<dyn FunctionMiddlewareGenerator>) {
self.middlewares.push(middleware);
}
/// Gets the default features for this compiler in the given target
fn default_features_for_target(&self, _target: &Target) -> Features {
Features::default()
}
}
impl Default for Cranelift {