feat(interface-types) Remove the re-export of InterfaceType in values.

This commit is contained in:
Ivan Enderlin
2020-04-09 10:54:09 +02:00
parent 0f1ddce3c9
commit de1d3c7766
5 changed files with 28 additions and 24 deletions

View File

@ -96,11 +96,14 @@ macro_rules! test_executable_instruction {
#[test]
#[allow(non_snake_case, unused)]
fn $test_name() {
use crate::interpreter::{
instructions::tests::{Export, Instance, LocalImport, Memory, MemoryView},
stack::Stackable,
wasm::values::{InterfaceType, InterfaceValue},
Instruction, Interpreter,
use crate::{
interpreter::{
instructions::tests::{Export, Instance, LocalImport, Memory, MemoryView},
stack::Stackable,
wasm::values::InterfaceValue,
Instruction, Interpreter,
},
types::InterfaceType,
};
use std::{cell::Cell, collections::HashMap, convert::TryInto};
@ -135,11 +138,14 @@ macro_rules! test_executable_instruction {
#[test]
#[allow(non_snake_case, unused)]
fn $test_name() {
use crate::interpreter::{
instructions::tests::{Export, Instance, LocalImport, Memory, MemoryView},
stack::Stackable,
wasm::values::{InterfaceType, InterfaceValue},
Instruction, Interpreter,
use crate::{
interpreter::{
instructions::tests::{Export, Instance, LocalImport, Memory, MemoryView},
stack::Stackable,
wasm::values::InterfaceValue,
Instruction, Interpreter,
},
types::InterfaceType,
};
use std::{cell::Cell, collections::HashMap, convert::TryInto};