lib/wasm works with no_std
This commit is contained in:
committed by
Dan Gohman
parent
299e8a9737
commit
66a150e67a
@@ -34,6 +34,9 @@ use std::collections::{HashMap, hash_map};
|
||||
use environ::{FuncEnvironment, GlobalValue};
|
||||
use std::{i32, u32};
|
||||
|
||||
// this is for no_std builds, but has no affect on regular builds
|
||||
use std::vec::Vec;
|
||||
|
||||
/// Translates wasm operators into Cretonne IL instructions. Returns `true` if it inserted
|
||||
/// a return.
|
||||
pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
||||
|
||||
Reference in New Issue
Block a user