Make wasm_unsupported be composeable
This commit is contained in:
committed by
Benjamin Bouvier
parent
26accbadf8
commit
eeb3159fe9
@@ -80,7 +80,7 @@ pub enum WasmError {
|
||||
/// on the arguments to this macro.
|
||||
#[macro_export]
|
||||
macro_rules! wasm_unsupported {
|
||||
($($arg:tt)*) => { return Err($crate::environ::WasmError::Unsupported(format!($($arg)*))) }
|
||||
($($arg:tt)*) => { $crate::environ::WasmError::Unsupported(format!($($arg)*)) }
|
||||
}
|
||||
|
||||
impl From<BinaryReaderError> for WasmError {
|
||||
|
||||
Reference in New Issue
Block a user