Tests for cache system

This commit is contained in:
Artur Jamro
2019-07-29 16:43:48 -07:00
committed by Dan Gohman
parent 697fa59b55
commit c3215f4f1b
7 changed files with 355 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ pub struct Relocation {
}
/// Destination function. Can be either user function or some special one, like `memory.grow`.
#[derive(Serialize, Deserialize, Debug, Copy, Clone)]
#[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)]
pub enum RelocationTarget {
/// The user function index.
UserFunc(FuncIndex),